Placeholder reconfigure functions

This commit is contained in:
Bob Mottram 2016-07-09 11:36:12 +01:00
parent 04d8571140
commit 580fe547dc
25 changed files with 93 additions and 2 deletions

View File

@ -33,6 +33,10 @@ VARIANTS=''
ENABLE_BABEL="no"
BABEL_PORT=6696
function reconfigure_babel {
echo -n ''
}
function upgrade_babel {
echo -n ''
}

View File

@ -46,6 +46,10 @@ function configure_firewall_for_batma {
echo 'configure_firewall_for_batman' >> $COMPLETION_FILE
}
function reconfigure_batman {
echo -n ''
}
function upgrade_batman {
echo -n ''
}

View File

@ -38,6 +38,10 @@ FULLBLOG_COMMIT='bf5fe9486160be4da86d8987d3e5c977e1dc6d32'
MY_BLOG_TITLE="My Blog"
MY_BLOG_SUBTITLE="Another ${PROJECT_NAME} Blog"
function reconfigure_blog {
echo -n ''
}
function upgrade_blog {
if ! grep -Fxq "install_blog" $COMPLETION_FILE; then
return

View File

@ -41,6 +41,10 @@ CJDNS_COMMIT='13189fde111d0500427a7a0ce06a970753527bca'
CJDCMD_REPO="https://github.com/inhies/cjdcmd"
CJDCMD_COMMIT='973cca6ed0eecf9041c3403a40193c0b1291b808'
function reconfigure_cjdns {
echo -n ''
}
function upgrade_cjdns {
if ! grep -Fxq "install_cjdns" $COMPLETION_FILE; then
return

View File

@ -30,6 +30,10 @@
VARIANTS='full media'
function reconfigure_dlna {
echo ''
}
function upgrade_dlna {
echo ''
}

View File

@ -30,6 +30,10 @@
VARIANTS='all'
function reconfigure_emacs {
echo -n ''
}
function upgrade_emacs {
echo -n ''
}

View File

@ -68,6 +68,10 @@ function gnusocial_running_script {
chmod +x /etc/cron.hourly/gnusocial-daemons
}
function reconfigure_gnusocial {
echo -n ''
}
function upgrade_gnusocial {
if ! grep -Fxq "install_gnusocial_main" $COMPLETION_FILE; then
return

View File

@ -37,6 +37,10 @@ GIT_DOMAIN_REPO="https://github.com/gogits/gogs"
GIT_ADMIN_PASSWORD=
GOGS_COMMIT='3fb4f7f4980b4339fd9ef6a3ba5b0acab83d264d'
function reconfigure_gogs {
echo -n ''
}
function upgrade_gogs {
if ! grep -Fxq "install_gogs" $COMPLETION_FILE; then
return

View File

@ -40,6 +40,10 @@ HUBZILLA_ADMIN_PASSWORD=
HUBZILLA_COMMIT='2d79e75788aa71664a379c4cea0b6bfe3ab87ad0'
HUBZILLA_ADDONS_COMMIT='67b40c7a40f328a93ee030eb15e9e1261f3cba64'
function reconfigure_hubzilla {
echo -n ''
}
function upgrade_hubzilla {
if ! grep -Fxq "install_hubzilla" $COMPLETION_FILE; then
return

View File

@ -34,6 +34,10 @@ IPFS_GO_REPO="https://github.com/ipfs/go-ipfs"
IPFS_COMMIT='20b06a4cbce8884f5b194da6e98cb11f2c77f166'
IPFS_PORT=4001
function reconfigure_ipfs {
echo -n ''
}
function upgrade_ipfs {
if ! grep -Fxq "install_ipfs" $COMPLETION_FILE; then
return

View File

@ -36,6 +36,10 @@ IRC_ONION_PORT=6697
# An optional password to log into IRC. This applies to all users
IRC_PASSWORD=
function reconfigure_irc {
echo -n ''
}
function upgrade_irc {
echo -n ''
}

View File

@ -37,6 +37,10 @@ MEDIAGOBLIN_COMMIT='d1ac2d52fd8859c3f32fa38e4836ffe9615e5bba'
MEDIAGOBLIN_ADMIN_PASSWORD=
MEDIAGOBLIN_ONION_PORT=8096
function reconfigure_mediagoblin {
echo -n ''
}
function upgrade_mediagoblin {
echo -n ''
}

View File

@ -39,6 +39,10 @@ VOIP_PORT=64738
VOIP_DATABASE="mumble-server.sqlite"
VOIP_CONFIG_FILE="mumble-server.ini"
function reconfigure_mumble {
echo -n ''
}
function upgrade_mumble {
echo -n ''
}

View File

@ -42,6 +42,10 @@ RSS_READER_PATH=/etc/share/tt-rss
RSS_READER_GNUSOCIAL_REPO="https://github.com/bashrc/ttrss-gnusocial"
RSS_READER_GNUSOCIAL_COMMIT='8b92b8f5db7b0d12459c7bd86a50f48815efe642'
function reconfigure_rss {
echo -n ''
}
function upgrade_rss {
if grep -Fxq "install_rss" $COMPLETION_FILE; then
function_check set_repo_commit

View File

@ -38,6 +38,10 @@ SEARX_ONION_HOSTNAME=
SEARX_LOGIN_TEXT=$"Search engine login"
SEARX_PASSWORD=
function reconfigure_searx {
echo -n ''
}
function upgrade_searx {
if ! grep -Fxq "install_searx" $COMPLETION_FILE; then
return

View File

@ -37,6 +37,10 @@ VOIP_TURN_PORT=3478
VOIP_TURN_TLS_PORT=5349
VOIP_TURN_NONCE=
function reconfigure_sip {
echo -n ''
}
function upgrade_sip {
# remove the original sipwitch daemon if it exists
if [ -f /etc/init.d/sipwitch ]; then

View File

@ -39,6 +39,10 @@ SYNCTHING_PORT=22000
SYNCTHING_SHARED_DATA=/var/lib/syncthing/SyncShared
SYNCTHING_USER_IDS_FILE='.syncthingids'
function reconfigure_syncthing {
echo -n ''
}
function upgrade_syncthing {
echo -n ''
}

View File

@ -46,6 +46,10 @@ TOXIC_REPO="https://github.com/Tox/toxic"
TOXIC_COMMIT='cf16849b374e484a33a4dffa3dfb937b59d537f2'
TOXIC_FILE=/usr/local/bin/toxic
function reconfigure_tox {
echo -n ''
}
function upgrade_tox {
if ! grep -Fxq "install_tox" $COMPLETION_FILE; then
return

View File

@ -30,6 +30,10 @@
VARIANTS=''
function reconfigure_vpn {
echo -n ''
}
function upgrade_vpn {
echo -n ''
}

View File

@ -38,6 +38,10 @@ WEBMAIL_ADMIN_PASSWORD=
WEB_PATH=/var/www
WEBMAIL_PATH=$WEB_PATH/webmail
function reconfigure_webmail {
echo -n ''
}
function upgrade_webmail {
if ! grep -Fxq "install_webmail" $COMPLETION_FILE; then
return

View File

@ -36,6 +36,10 @@ WIKI_TITLE="${PROJECT_NAME} Wiki"
WIKI_CODE=
WIKI_ONION_PORT=8089
function reconfigure_wiki {
echo -n ''
}
function upgrade_wiki {
echo -n ''
}

View File

@ -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_ECC_CURVE='"secp384r1"'
function reconfigure_xmpp {
echo -n ''
}
function update_prosody_modules {
if [ ! -d $INSTALL_DIR/prosody-modules ]; then
return

View File

@ -47,6 +47,10 @@ ZERONET_DEFAULT_MAIL_TAGLINE="Mail for the Mesh"
ZERONET_ID_REPO="https://github.com/HelloZeroNet/ZeroID"
ZERONET_ID_COMMIT='ccf14fdc96fa9cdb2ddd8a7ab283a8e17a4f234b'
function reconfigure_zeronet {
echo -n ''
}
function upgrade_zeronet {
if ! grep -Fxq "install_zeronet" $COMPLETION_FILE; then
return

View File

@ -863,7 +863,6 @@ restore_user_local
restore_certs
restore_personal_settings
restore_mailing_list
restore_email
restore_apps
set_user_permissions

View File

@ -61,7 +61,7 @@ function test_app_functions {
FILES=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-*
# 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 filename in $FILES