Placeholder reconfigure functions
This commit is contained in:
parent
04d8571140
commit
580fe547dc
|
@ -33,6 +33,10 @@ VARIANTS=''
|
||||||
ENABLE_BABEL="no"
|
ENABLE_BABEL="no"
|
||||||
BABEL_PORT=6696
|
BABEL_PORT=6696
|
||||||
|
|
||||||
|
function reconfigure_babel {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_babel {
|
function upgrade_babel {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,10 @@ function configure_firewall_for_batma {
|
||||||
echo 'configure_firewall_for_batman' >> $COMPLETION_FILE
|
echo 'configure_firewall_for_batman' >> $COMPLETION_FILE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function reconfigure_batman {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_batman {
|
function upgrade_batman {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,10 @@ FULLBLOG_COMMIT='bf5fe9486160be4da86d8987d3e5c977e1dc6d32'
|
||||||
MY_BLOG_TITLE="My Blog"
|
MY_BLOG_TITLE="My Blog"
|
||||||
MY_BLOG_SUBTITLE="Another ${PROJECT_NAME} Blog"
|
MY_BLOG_SUBTITLE="Another ${PROJECT_NAME} Blog"
|
||||||
|
|
||||||
|
function reconfigure_blog {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_blog {
|
function upgrade_blog {
|
||||||
if ! grep -Fxq "install_blog" $COMPLETION_FILE; then
|
if ! grep -Fxq "install_blog" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
|
|
|
@ -41,6 +41,10 @@ CJDNS_COMMIT='13189fde111d0500427a7a0ce06a970753527bca'
|
||||||
CJDCMD_REPO="https://github.com/inhies/cjdcmd"
|
CJDCMD_REPO="https://github.com/inhies/cjdcmd"
|
||||||
CJDCMD_COMMIT='973cca6ed0eecf9041c3403a40193c0b1291b808'
|
CJDCMD_COMMIT='973cca6ed0eecf9041c3403a40193c0b1291b808'
|
||||||
|
|
||||||
|
function reconfigure_cjdns {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_cjdns {
|
function upgrade_cjdns {
|
||||||
if ! grep -Fxq "install_cjdns" $COMPLETION_FILE; then
|
if ! grep -Fxq "install_cjdns" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
|
|
|
@ -30,6 +30,10 @@
|
||||||
|
|
||||||
VARIANTS='full media'
|
VARIANTS='full media'
|
||||||
|
|
||||||
|
function reconfigure_dlna {
|
||||||
|
echo ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_dlna {
|
function upgrade_dlna {
|
||||||
echo ''
|
echo ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,10 @@
|
||||||
|
|
||||||
VARIANTS='all'
|
VARIANTS='all'
|
||||||
|
|
||||||
|
function reconfigure_emacs {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_emacs {
|
function upgrade_emacs {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,6 +68,10 @@ function gnusocial_running_script {
|
||||||
chmod +x /etc/cron.hourly/gnusocial-daemons
|
chmod +x /etc/cron.hourly/gnusocial-daemons
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function reconfigure_gnusocial {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_gnusocial {
|
function upgrade_gnusocial {
|
||||||
if ! grep -Fxq "install_gnusocial_main" $COMPLETION_FILE; then
|
if ! grep -Fxq "install_gnusocial_main" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
|
|
|
@ -37,6 +37,10 @@ GIT_DOMAIN_REPO="https://github.com/gogits/gogs"
|
||||||
GIT_ADMIN_PASSWORD=
|
GIT_ADMIN_PASSWORD=
|
||||||
GOGS_COMMIT='3fb4f7f4980b4339fd9ef6a3ba5b0acab83d264d'
|
GOGS_COMMIT='3fb4f7f4980b4339fd9ef6a3ba5b0acab83d264d'
|
||||||
|
|
||||||
|
function reconfigure_gogs {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_gogs {
|
function upgrade_gogs {
|
||||||
if ! grep -Fxq "install_gogs" $COMPLETION_FILE; then
|
if ! grep -Fxq "install_gogs" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
|
|
|
@ -40,6 +40,10 @@ HUBZILLA_ADMIN_PASSWORD=
|
||||||
HUBZILLA_COMMIT='2d79e75788aa71664a379c4cea0b6bfe3ab87ad0'
|
HUBZILLA_COMMIT='2d79e75788aa71664a379c4cea0b6bfe3ab87ad0'
|
||||||
HUBZILLA_ADDONS_COMMIT='67b40c7a40f328a93ee030eb15e9e1261f3cba64'
|
HUBZILLA_ADDONS_COMMIT='67b40c7a40f328a93ee030eb15e9e1261f3cba64'
|
||||||
|
|
||||||
|
function reconfigure_hubzilla {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_hubzilla {
|
function upgrade_hubzilla {
|
||||||
if ! grep -Fxq "install_hubzilla" $COMPLETION_FILE; then
|
if ! grep -Fxq "install_hubzilla" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
|
|
|
@ -34,6 +34,10 @@ IPFS_GO_REPO="https://github.com/ipfs/go-ipfs"
|
||||||
IPFS_COMMIT='20b06a4cbce8884f5b194da6e98cb11f2c77f166'
|
IPFS_COMMIT='20b06a4cbce8884f5b194da6e98cb11f2c77f166'
|
||||||
IPFS_PORT=4001
|
IPFS_PORT=4001
|
||||||
|
|
||||||
|
function reconfigure_ipfs {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_ipfs {
|
function upgrade_ipfs {
|
||||||
if ! grep -Fxq "install_ipfs" $COMPLETION_FILE; then
|
if ! grep -Fxq "install_ipfs" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
|
|
|
@ -36,6 +36,10 @@ IRC_ONION_PORT=6697
|
||||||
# An optional password to log into IRC. This applies to all users
|
# An optional password to log into IRC. This applies to all users
|
||||||
IRC_PASSWORD=
|
IRC_PASSWORD=
|
||||||
|
|
||||||
|
function reconfigure_irc {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_irc {
|
function upgrade_irc {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,10 @@ MEDIAGOBLIN_COMMIT='d1ac2d52fd8859c3f32fa38e4836ffe9615e5bba'
|
||||||
MEDIAGOBLIN_ADMIN_PASSWORD=
|
MEDIAGOBLIN_ADMIN_PASSWORD=
|
||||||
MEDIAGOBLIN_ONION_PORT=8096
|
MEDIAGOBLIN_ONION_PORT=8096
|
||||||
|
|
||||||
|
function reconfigure_mediagoblin {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_mediagoblin {
|
function upgrade_mediagoblin {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,10 @@ VOIP_PORT=64738
|
||||||
VOIP_DATABASE="mumble-server.sqlite"
|
VOIP_DATABASE="mumble-server.sqlite"
|
||||||
VOIP_CONFIG_FILE="mumble-server.ini"
|
VOIP_CONFIG_FILE="mumble-server.ini"
|
||||||
|
|
||||||
|
function reconfigure_mumble {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_mumble {
|
function upgrade_mumble {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,10 @@ RSS_READER_PATH=/etc/share/tt-rss
|
||||||
RSS_READER_GNUSOCIAL_REPO="https://github.com/bashrc/ttrss-gnusocial"
|
RSS_READER_GNUSOCIAL_REPO="https://github.com/bashrc/ttrss-gnusocial"
|
||||||
RSS_READER_GNUSOCIAL_COMMIT='8b92b8f5db7b0d12459c7bd86a50f48815efe642'
|
RSS_READER_GNUSOCIAL_COMMIT='8b92b8f5db7b0d12459c7bd86a50f48815efe642'
|
||||||
|
|
||||||
|
function reconfigure_rss {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_rss {
|
function upgrade_rss {
|
||||||
if grep -Fxq "install_rss" $COMPLETION_FILE; then
|
if grep -Fxq "install_rss" $COMPLETION_FILE; then
|
||||||
function_check set_repo_commit
|
function_check set_repo_commit
|
||||||
|
|
|
@ -38,6 +38,10 @@ SEARX_ONION_HOSTNAME=
|
||||||
SEARX_LOGIN_TEXT=$"Search engine login"
|
SEARX_LOGIN_TEXT=$"Search engine login"
|
||||||
SEARX_PASSWORD=
|
SEARX_PASSWORD=
|
||||||
|
|
||||||
|
function reconfigure_searx {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_searx {
|
function upgrade_searx {
|
||||||
if ! grep -Fxq "install_searx" $COMPLETION_FILE; then
|
if ! grep -Fxq "install_searx" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
|
|
|
@ -37,6 +37,10 @@ VOIP_TURN_PORT=3478
|
||||||
VOIP_TURN_TLS_PORT=5349
|
VOIP_TURN_TLS_PORT=5349
|
||||||
VOIP_TURN_NONCE=
|
VOIP_TURN_NONCE=
|
||||||
|
|
||||||
|
function reconfigure_sip {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_sip {
|
function upgrade_sip {
|
||||||
# remove the original sipwitch daemon if it exists
|
# remove the original sipwitch daemon if it exists
|
||||||
if [ -f /etc/init.d/sipwitch ]; then
|
if [ -f /etc/init.d/sipwitch ]; then
|
||||||
|
|
|
@ -39,6 +39,10 @@ SYNCTHING_PORT=22000
|
||||||
SYNCTHING_SHARED_DATA=/var/lib/syncthing/SyncShared
|
SYNCTHING_SHARED_DATA=/var/lib/syncthing/SyncShared
|
||||||
SYNCTHING_USER_IDS_FILE='.syncthingids'
|
SYNCTHING_USER_IDS_FILE='.syncthingids'
|
||||||
|
|
||||||
|
function reconfigure_syncthing {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_syncthing {
|
function upgrade_syncthing {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,10 @@ TOXIC_REPO="https://github.com/Tox/toxic"
|
||||||
TOXIC_COMMIT='cf16849b374e484a33a4dffa3dfb937b59d537f2'
|
TOXIC_COMMIT='cf16849b374e484a33a4dffa3dfb937b59d537f2'
|
||||||
TOXIC_FILE=/usr/local/bin/toxic
|
TOXIC_FILE=/usr/local/bin/toxic
|
||||||
|
|
||||||
|
function reconfigure_tox {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_tox {
|
function upgrade_tox {
|
||||||
if ! grep -Fxq "install_tox" $COMPLETION_FILE; then
|
if ! grep -Fxq "install_tox" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
|
|
|
@ -30,6 +30,10 @@
|
||||||
|
|
||||||
VARIANTS=''
|
VARIANTS=''
|
||||||
|
|
||||||
|
function reconfigure_vpn {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_vpn {
|
function upgrade_vpn {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,10 @@ WEBMAIL_ADMIN_PASSWORD=
|
||||||
WEB_PATH=/var/www
|
WEB_PATH=/var/www
|
||||||
WEBMAIL_PATH=$WEB_PATH/webmail
|
WEBMAIL_PATH=$WEB_PATH/webmail
|
||||||
|
|
||||||
|
function reconfigure_webmail {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_webmail {
|
function upgrade_webmail {
|
||||||
if ! grep -Fxq "install_webmail" $COMPLETION_FILE; then
|
if ! grep -Fxq "install_webmail" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
|
|
|
@ -36,6 +36,10 @@ WIKI_TITLE="${PROJECT_NAME} Wiki"
|
||||||
WIKI_CODE=
|
WIKI_CODE=
|
||||||
WIKI_ONION_PORT=8089
|
WIKI_ONION_PORT=8089
|
||||||
|
|
||||||
|
function reconfigure_wiki {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_wiki {
|
function upgrade_wiki {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,10 @@ XMPP_PASSWORD=
|
||||||
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"'
|
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"'
|
||||||
XMPP_ECC_CURVE='"secp384r1"'
|
XMPP_ECC_CURVE='"secp384r1"'
|
||||||
|
|
||||||
|
function reconfigure_xmpp {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function update_prosody_modules {
|
function update_prosody_modules {
|
||||||
if [ ! -d $INSTALL_DIR/prosody-modules ]; then
|
if [ ! -d $INSTALL_DIR/prosody-modules ]; then
|
||||||
return
|
return
|
||||||
|
|
|
@ -47,6 +47,10 @@ ZERONET_DEFAULT_MAIL_TAGLINE="Mail for the Mesh"
|
||||||
ZERONET_ID_REPO="https://github.com/HelloZeroNet/ZeroID"
|
ZERONET_ID_REPO="https://github.com/HelloZeroNet/ZeroID"
|
||||||
ZERONET_ID_COMMIT='ccf14fdc96fa9cdb2ddd8a7ab283a8e17a4f234b'
|
ZERONET_ID_COMMIT='ccf14fdc96fa9cdb2ddd8a7ab283a8e17a4f234b'
|
||||||
|
|
||||||
|
function reconfigure_zeronet {
|
||||||
|
echo -n ''
|
||||||
|
}
|
||||||
|
|
||||||
function upgrade_zeronet {
|
function upgrade_zeronet {
|
||||||
if ! grep -Fxq "install_zeronet" $COMPLETION_FILE; then
|
if ! grep -Fxq "install_zeronet" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
|
|
|
@ -863,7 +863,6 @@ restore_user_local
|
||||||
restore_certs
|
restore_certs
|
||||||
restore_personal_settings
|
restore_personal_settings
|
||||||
restore_mailing_list
|
restore_mailing_list
|
||||||
|
|
||||||
restore_email
|
restore_email
|
||||||
restore_apps
|
restore_apps
|
||||||
set_user_permissions
|
set_user_permissions
|
||||||
|
|
|
@ -61,7 +61,7 @@ function test_app_functions {
|
||||||
FILES=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-*
|
FILES=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-*
|
||||||
|
|
||||||
# check that these functions exist
|
# check that these functions exist
|
||||||
interface_functions=( install remove backup_local backup_remote restore_local restore_remote upgrade )
|
interface_functions=( install remove backup_local backup_remote restore_local restore_remote upgrade reconfigure )
|
||||||
|
|
||||||
# for all the app scripts
|
# for all the app scripts
|
||||||
for filename in $FILES
|
for filename in $FILES
|
||||||
|
|
Loading…
Reference in New Issue