Pārlūkot izejas kodu

Placeholder reconfigure functions

Bob Mottram 8 gadus atpakaļ
vecāks
revīzija
580fe547dc

+ 4
- 0
src/freedombone-app-babel Parādīt failu

33
 ENABLE_BABEL="no"
33
 ENABLE_BABEL="no"
34
 BABEL_PORT=6696
34
 BABEL_PORT=6696
35
 
35
 
36
+function reconfigure_babel {
37
+    echo -n ''
38
+}
39
+
36
 function upgrade_babel {
40
 function upgrade_babel {
37
     echo -n ''
41
     echo -n ''
38
 }
42
 }

+ 4
- 0
src/freedombone-app-batman Parādīt failu

46
 	echo 'configure_firewall_for_batman' >> $COMPLETION_FILE
46
 	echo 'configure_firewall_for_batman' >> $COMPLETION_FILE
47
 }
47
 }
48
 
48
 
49
+function reconfigure_batman {
50
+    echo -n ''
51
+}
52
+
49
 function upgrade_batman {
53
 function upgrade_batman {
50
     echo -n ''
54
     echo -n ''
51
 }
55
 }

+ 4
- 0
src/freedombone-app-blog Parādīt failu

38
 MY_BLOG_TITLE="My Blog"
38
 MY_BLOG_TITLE="My Blog"
39
 MY_BLOG_SUBTITLE="Another ${PROJECT_NAME} Blog"
39
 MY_BLOG_SUBTITLE="Another ${PROJECT_NAME} Blog"
40
 
40
 
41
+function reconfigure_blog {
42
+    echo -n ''
43
+}
44
+
41
 function upgrade_blog {
45
 function upgrade_blog {
42
 	if ! grep -Fxq "install_blog" $COMPLETION_FILE; then
46
 	if ! grep -Fxq "install_blog" $COMPLETION_FILE; then
43
 		return
47
 		return

+ 4
- 0
src/freedombone-app-cjdns Parādīt failu

41
 CJDCMD_REPO="https://github.com/inhies/cjdcmd"
41
 CJDCMD_REPO="https://github.com/inhies/cjdcmd"
42
 CJDCMD_COMMIT='973cca6ed0eecf9041c3403a40193c0b1291b808'
42
 CJDCMD_COMMIT='973cca6ed0eecf9041c3403a40193c0b1291b808'
43
 
43
 
44
+function reconfigure_cjdns {
45
+    echo -n ''
46
+}
47
+
44
 function upgrade_cjdns {
48
 function upgrade_cjdns {
45
 	if ! grep -Fxq "install_cjdns" $COMPLETION_FILE; then
49
 	if ! grep -Fxq "install_cjdns" $COMPLETION_FILE; then
46
 		return
50
 		return

+ 4
- 0
src/freedombone-app-dlna Parādīt failu

30
 
30
 
31
 VARIANTS='full media'
31
 VARIANTS='full media'
32
 
32
 
33
+function reconfigure_dlna {
34
+	echo ''
35
+}
36
+
33
 function upgrade_dlna {
37
 function upgrade_dlna {
34
 	echo ''
38
 	echo ''
35
 }
39
 }

+ 4
- 0
src/freedombone-app-emacs Parādīt failu

30
 
30
 
31
 VARIANTS='all'
31
 VARIANTS='all'
32
 
32
 
33
+function reconfigure_emacs {
34
+    echo -n ''
35
+}
36
+
33
 function upgrade_emacs {
37
 function upgrade_emacs {
34
     echo -n ''
38
     echo -n ''
35
 }
39
 }

+ 4
- 0
src/freedombone-app-gnusocial Parādīt failu

68
 	chmod +x /etc/cron.hourly/gnusocial-daemons
68
 	chmod +x /etc/cron.hourly/gnusocial-daemons
69
 }
69
 }
70
 
70
 
71
+function reconfigure_gnusocial {
72
+    echo -n ''
73
+}
74
+
71
 function upgrade_gnusocial {
75
 function upgrade_gnusocial {
72
 	if ! grep -Fxq "install_gnusocial_main" $COMPLETION_FILE; then
76
 	if ! grep -Fxq "install_gnusocial_main" $COMPLETION_FILE; then
73
 		return
77
 		return

+ 4
- 0
src/freedombone-app-gogs Parādīt failu

37
 GIT_ADMIN_PASSWORD=
37
 GIT_ADMIN_PASSWORD=
38
 GOGS_COMMIT='3fb4f7f4980b4339fd9ef6a3ba5b0acab83d264d'
38
 GOGS_COMMIT='3fb4f7f4980b4339fd9ef6a3ba5b0acab83d264d'
39
 
39
 
40
+function reconfigure_gogs {
41
+    echo -n ''
42
+}
43
+
40
 function upgrade_gogs {
44
 function upgrade_gogs {
41
 	if ! grep -Fxq "install_gogs" $COMPLETION_FILE; then
45
 	if ! grep -Fxq "install_gogs" $COMPLETION_FILE; then
42
 		return
46
 		return

+ 4
- 0
src/freedombone-app-hubzilla Parādīt failu

40
 HUBZILLA_COMMIT='2d79e75788aa71664a379c4cea0b6bfe3ab87ad0'
40
 HUBZILLA_COMMIT='2d79e75788aa71664a379c4cea0b6bfe3ab87ad0'
41
 HUBZILLA_ADDONS_COMMIT='67b40c7a40f328a93ee030eb15e9e1261f3cba64'
41
 HUBZILLA_ADDONS_COMMIT='67b40c7a40f328a93ee030eb15e9e1261f3cba64'
42
 
42
 
43
+function reconfigure_hubzilla {
44
+    echo -n ''
45
+}
46
+
43
 function upgrade_hubzilla {
47
 function upgrade_hubzilla {
44
 	if ! grep -Fxq "install_hubzilla" $COMPLETION_FILE; then
48
 	if ! grep -Fxq "install_hubzilla" $COMPLETION_FILE; then
45
 		return
49
 		return

+ 4
- 0
src/freedombone-app-ipfs Parādīt failu

34
 IPFS_COMMIT='20b06a4cbce8884f5b194da6e98cb11f2c77f166'
34
 IPFS_COMMIT='20b06a4cbce8884f5b194da6e98cb11f2c77f166'
35
 IPFS_PORT=4001
35
 IPFS_PORT=4001
36
 
36
 
37
+function reconfigure_ipfs {
38
+    echo -n ''
39
+}
40
+
37
 function upgrade_ipfs {
41
 function upgrade_ipfs {
38
 	if ! grep -Fxq "install_ipfs" $COMPLETION_FILE; then
42
 	if ! grep -Fxq "install_ipfs" $COMPLETION_FILE; then
39
 		return
43
 		return

+ 4
- 0
src/freedombone-app-irc Parādīt failu

36
 # An optional password to log into IRC. This applies to all users
36
 # An optional password to log into IRC. This applies to all users
37
 IRC_PASSWORD=
37
 IRC_PASSWORD=
38
 
38
 
39
+function reconfigure_irc {
40
+    echo -n ''
41
+}
42
+
39
 function upgrade_irc {
43
 function upgrade_irc {
40
     echo -n ''
44
     echo -n ''
41
 }
45
 }

+ 4
- 0
src/freedombone-app-mediagoblin Parādīt failu

37
 MEDIAGOBLIN_ADMIN_PASSWORD=
37
 MEDIAGOBLIN_ADMIN_PASSWORD=
38
 MEDIAGOBLIN_ONION_PORT=8096
38
 MEDIAGOBLIN_ONION_PORT=8096
39
 
39
 
40
+function reconfigure_mediagoblin {
41
+	echo -n ''
42
+}
43
+
40
 function upgrade_mediagoblin {
44
 function upgrade_mediagoblin {
41
 	echo -n ''
45
 	echo -n ''
42
 }
46
 }

+ 4
- 0
src/freedombone-app-mumble Parādīt failu

39
 VOIP_DATABASE="mumble-server.sqlite"
39
 VOIP_DATABASE="mumble-server.sqlite"
40
 VOIP_CONFIG_FILE="mumble-server.ini"
40
 VOIP_CONFIG_FILE="mumble-server.ini"
41
 
41
 
42
+function reconfigure_mumble {
43
+	echo -n ''
44
+}
45
+
42
 function upgrade_mumble {
46
 function upgrade_mumble {
43
 	echo -n ''
47
 	echo -n ''
44
 }
48
 }

+ 4
- 0
src/freedombone-app-rss Parādīt failu

42
 RSS_READER_GNUSOCIAL_REPO="https://github.com/bashrc/ttrss-gnusocial"
42
 RSS_READER_GNUSOCIAL_REPO="https://github.com/bashrc/ttrss-gnusocial"
43
 RSS_READER_GNUSOCIAL_COMMIT='8b92b8f5db7b0d12459c7bd86a50f48815efe642'
43
 RSS_READER_GNUSOCIAL_COMMIT='8b92b8f5db7b0d12459c7bd86a50f48815efe642'
44
 
44
 
45
+function reconfigure_rss {
46
+    echo -n ''
47
+}
48
+
45
 function upgrade_rss {
49
 function upgrade_rss {
46
 	if grep -Fxq "install_rss" $COMPLETION_FILE; then
50
 	if grep -Fxq "install_rss" $COMPLETION_FILE; then
47
 		function_check set_repo_commit
51
 		function_check set_repo_commit

+ 4
- 0
src/freedombone-app-searx Parādīt failu

38
 SEARX_LOGIN_TEXT=$"Search engine login"
38
 SEARX_LOGIN_TEXT=$"Search engine login"
39
 SEARX_PASSWORD=
39
 SEARX_PASSWORD=
40
 
40
 
41
+function reconfigure_searx {
42
+    echo -n ''
43
+}
44
+
41
 function upgrade_searx {
45
 function upgrade_searx {
42
 	if ! grep -Fxq "install_searx" $COMPLETION_FILE; then
46
 	if ! grep -Fxq "install_searx" $COMPLETION_FILE; then
43
 		return
47
 		return

+ 4
- 0
src/freedombone-app-sip Parādīt failu

37
 VOIP_TURN_TLS_PORT=5349
37
 VOIP_TURN_TLS_PORT=5349
38
 VOIP_TURN_NONCE=
38
 VOIP_TURN_NONCE=
39
 
39
 
40
+function reconfigure_sip {
41
+    echo -n ''
42
+}
43
+
40
 function upgrade_sip {
44
 function upgrade_sip {
41
 	# remove the original sipwitch daemon if it exists
45
 	# remove the original sipwitch daemon if it exists
42
 	if [ -f /etc/init.d/sipwitch ]; then
46
 	if [ -f /etc/init.d/sipwitch ]; then

+ 4
- 0
src/freedombone-app-syncthing Parādīt failu

39
 SYNCTHING_SHARED_DATA=/var/lib/syncthing/SyncShared
39
 SYNCTHING_SHARED_DATA=/var/lib/syncthing/SyncShared
40
 SYNCTHING_USER_IDS_FILE='.syncthingids'
40
 SYNCTHING_USER_IDS_FILE='.syncthingids'
41
 
41
 
42
+function reconfigure_syncthing {
43
+	echo -n ''
44
+}
45
+
42
 function upgrade_syncthing {
46
 function upgrade_syncthing {
43
 	echo -n ''
47
 	echo -n ''
44
 }
48
 }

+ 4
- 0
src/freedombone-app-tox Parādīt failu

46
 TOXIC_COMMIT='cf16849b374e484a33a4dffa3dfb937b59d537f2'
46
 TOXIC_COMMIT='cf16849b374e484a33a4dffa3dfb937b59d537f2'
47
 TOXIC_FILE=/usr/local/bin/toxic
47
 TOXIC_FILE=/usr/local/bin/toxic
48
 
48
 
49
+function reconfigure_tox {
50
+    echo -n ''
51
+}
52
+
49
 function upgrade_tox {
53
 function upgrade_tox {
50
 	if ! grep -Fxq "install_tox" $COMPLETION_FILE; then
54
 	if ! grep -Fxq "install_tox" $COMPLETION_FILE; then
51
 		return
55
 		return

+ 4
- 0
src/freedombone-app-vpn Parādīt failu

30
 
30
 
31
 VARIANTS=''
31
 VARIANTS=''
32
 
32
 
33
+function reconfigure_vpn {
34
+    echo -n ''
35
+}
36
+
33
 function upgrade_vpn {
37
 function upgrade_vpn {
34
     echo -n ''
38
     echo -n ''
35
 }
39
 }

+ 4
- 0
src/freedombone-app-webmail Parādīt failu

38
 WEB_PATH=/var/www
38
 WEB_PATH=/var/www
39
 WEBMAIL_PATH=$WEB_PATH/webmail
39
 WEBMAIL_PATH=$WEB_PATH/webmail
40
 
40
 
41
+function reconfigure_webmail {
42
+    echo -n ''
43
+}
44
+
41
 function upgrade_webmail {
45
 function upgrade_webmail {
42
 	if ! grep -Fxq "install_webmail" $COMPLETION_FILE; then
46
 	if ! grep -Fxq "install_webmail" $COMPLETION_FILE; then
43
 		return
47
 		return

+ 4
- 0
src/freedombone-app-wiki Parādīt failu

36
 WIKI_CODE=
36
 WIKI_CODE=
37
 WIKI_ONION_PORT=8089
37
 WIKI_ONION_PORT=8089
38
 
38
 
39
+function reconfigure_wiki {
40
+	echo -n ''
41
+}
42
+
39
 function upgrade_wiki {
43
 function upgrade_wiki {
40
 	echo -n ''
44
 	echo -n ''
41
 }
45
 }

+ 4
- 0
src/freedombone-app-xmpp Parādīt failu

37
 XMPP_CIPHERS='"EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA256:EECDH:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!IDEA:!ECDSA:kEDH:CAMELLIA128-SHA:AES128-SHA"'
37
 XMPP_CIPHERS='"EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA256:EECDH:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!IDEA:!ECDSA:kEDH:CAMELLIA128-SHA:AES128-SHA"'
38
 XMPP_ECC_CURVE='"secp384r1"'
38
 XMPP_ECC_CURVE='"secp384r1"'
39
 
39
 
40
+function reconfigure_xmpp {
41
+    echo -n ''
42
+}
43
+
40
 function update_prosody_modules {
44
 function update_prosody_modules {
41
 	if [ ! -d $INSTALL_DIR/prosody-modules ]; then
45
 	if [ ! -d $INSTALL_DIR/prosody-modules ]; then
42
 		return
46
 		return

+ 4
- 0
src/freedombone-app-zeronet Parādīt failu

47
 ZERONET_ID_REPO="https://github.com/HelloZeroNet/ZeroID"
47
 ZERONET_ID_REPO="https://github.com/HelloZeroNet/ZeroID"
48
 ZERONET_ID_COMMIT='ccf14fdc96fa9cdb2ddd8a7ab283a8e17a4f234b'
48
 ZERONET_ID_COMMIT='ccf14fdc96fa9cdb2ddd8a7ab283a8e17a4f234b'
49
 
49
 
50
+function reconfigure_zeronet {
51
+    echo -n ''
52
+}
53
+
50
 function upgrade_zeronet {
54
 function upgrade_zeronet {
51
 	if ! grep -Fxq "install_zeronet" $COMPLETION_FILE; then
55
 	if ! grep -Fxq "install_zeronet" $COMPLETION_FILE; then
52
 		return
56
 		return

+ 0
- 1
src/freedombone-restore-local Parādīt failu

863
 restore_certs
863
 restore_certs
864
 restore_personal_settings
864
 restore_personal_settings
865
 restore_mailing_list
865
 restore_mailing_list
866
-
867
 restore_email
866
 restore_email
868
 restore_apps
867
 restore_apps
869
 set_user_permissions
868
 set_user_permissions

+ 1
- 1
src/freedombone-tests Parādīt failu

61
 	FILES=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-*
61
 	FILES=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-*
62
 
62
 
63
 	# check that these functions exist
63
 	# check that these functions exist
64
-	interface_functions=( install remove backup_local backup_remote restore_local restore_remote upgrade )
64
+	interface_functions=( install remove backup_local backup_remote restore_local restore_remote upgrade reconfigure )
65
 
65
 
66
 	# for all the app scripts
66
 	# for all the app scripts
67
 	for filename in $FILES
67
 	for filename in $FILES