Placeholder functions

This commit is contained in:
Bob Mottram 2016-07-09 11:15:41 +01:00
parent 9ffb0fe508
commit 04d8571140
8 changed files with 83 additions and 8 deletions

View File

@ -34,15 +34,23 @@ ENABLE_BABEL="no"
BABEL_PORT=6696 BABEL_PORT=6696
function upgrade_babel { function upgrade_babel {
echo '' echo -n ''
} }
function backup_local_babel { function backup_local_babel {
echo '' echo -n ''
}
function restore_local_babel {
echo -n ''
} }
function backup_remote_babel { function backup_remote_babel {
echo '' echo -n ''
}
function restore_remote_babel {
echo -n ''
} }
function remove_babel { function remove_babel {

View File

@ -47,15 +47,23 @@ function configure_firewall_for_batma {
} }
function upgrade_batman { function upgrade_batman {
echo '' echo -n ''
} }
function backup_local_batman { function backup_local_batman {
echo '' echo -n ''
}
function restore_local_batman {
echo -n ''
} }
function backup_remote_batman { function backup_remote_batman {
echo '' echo -n ''
}
function restore_remote_batman {
echo -n ''
} }
function remove_batman { function remove_batman {

View File

@ -38,10 +38,18 @@ function backup_local_emacs {
echo -n '' echo -n ''
} }
function restore_local_emacs {
echo -n ''
}
function backup_remote_emacs { function backup_remote_emacs {
echo -n '' echo -n ''
} }
function restore_remote_emacs {
echo -n ''
}
function remove_emacs { function remove_emacs {
if ! grep -Fxq "install_emacs" $COMPLETION_FILE; then if ! grep -Fxq "install_emacs" $COMPLETION_FILE; then
return return

View File

@ -44,10 +44,18 @@ function backup_local_irc {
echo -n '' echo -n ''
} }
function restore_local_irc {
echo -n ''
}
function backup_remote_irc { function backup_remote_irc {
echo -n '' echo -n ''
} }
function restore_remote_irc {
echo -n ''
}
function remove_irc { function remove_irc {
if ! grep -Fxq "install_irc" $COMPLETION_FILE; then if ! grep -Fxq "install_irc" $COMPLETION_FILE; then
return return

View File

@ -67,10 +67,18 @@ function backup_local_searx {
echo -n '' echo -n ''
} }
function restore_local_searx {
echo -n ''
}
function backup_remote_searx { function backup_remote_searx {
echo -n '' echo -n ''
} }
function restore_remote_searx {
echo -n ''
}
function remove_searx { function remove_searx {
if ! grep -Fxq "install_searx" $COMPLETION_FILE; then if ! grep -Fxq "install_searx" $COMPLETION_FILE; then
return return

View File

@ -38,10 +38,18 @@ function backup_local_vpn {
echo -n '' echo -n ''
} }
function restore_local_vpn {
echo -n ''
}
function backup_remote_vpn { function backup_remote_vpn {
echo -n '' echo -n ''
} }
function restore_remote_vpn {
echo -n ''
}
function remove_vpn { function remove_vpn {
apt-get -y remove --purge fastd apt-get -y remove --purge fastd
sed -i '/install_vpn/d' $COMPLETION_FILE sed -i '/install_vpn/d' $COMPLETION_FILE

View File

@ -47,6 +47,9 @@ function upgrade_webmail {
} }
function backup_local_webmail { function backup_local_webmail {
if ! grep -q "install_webmail" $COMPLETION_FILE; then
return
fi
echo $"Backing up webmail" echo $"Backing up webmail"
function_check backup_database_to_usb function_check backup_database_to_usb
@ -55,10 +58,26 @@ function backup_local_webmail {
echo $"Backing up webmail complete" echo $"Backing up webmail complete"
} }
function restore_local_webmail {
if ! grep -q "install_webmail" $COMPLETION_FILE; then
return
fi
echo $"Restoring webmail"
function_check restore_database
restore_database webmail
echo $"Restore of webmail complete"
}
function backup_remote_webmail { function backup_remote_webmail {
echo -n '' echo -n ''
} }
function restore_remote_webmail {
echo -n ''
}
function remove_webmail { function remove_webmail {
if ! grep -Fxq "install_webmail" $COMPLETION_FILE; then if ! grep -Fxq "install_webmail" $COMPLETION_FILE; then
return return

View File

@ -59,11 +59,19 @@ function upgrade_zeronet {
} }
function backup_local_zeronet { function backup_local_zeronet {
echo '' echo -n ''
}
function restore_local_zeronet {
echo -n ''
} }
function backup_remote_zeronet { function backup_remote_zeronet {
echo '' echo -n ''
}
function restore_remote_zeronet {
echo -n ''
} }
function remove_zeronet_blog { function remove_zeronet_blog {