From 44c3d087cd9183910670e9d2aa95da643eb4e7b8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 8 Jul 2016 16:19:07 +0100 Subject: [PATCH] Remove legacy tox local restore --- src/freedombone-restore-local | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/freedombone-restore-local b/src/freedombone-restore-local index 1298a53a..b19010a6 100755 --- a/src/freedombone-restore-local +++ b/src/freedombone-restore-local @@ -1217,31 +1217,6 @@ function restore_voip { fi } -function restore_tox { - if [[ $RESTORE_APP != 'all' ]]; then - if [[ $RESTORE_APP != 'tox' ]]; then - return - fi - fi - if [ -d $USB_MOUNT/backup/tox ]; then - echo $"Restoring Tox node settings" - restore_directory_from_usb / tox - if [ ! "$?" = "0" ]; then - set_user_permissions - backup_unmount_drive - exit 6393 - fi - cp /var/lib/tox-bootstrapd/tox-bootstrapd.conf /etc/tox-bootstrapd.conf - systemctl restart tox-bootstrapd.service - if [ ! "$?" = "0" ]; then - systemctl status tox-bootstrapd.service - set_user_permissions - backup_unmount_drive - exit 59369 - fi - fi -} - function get_restore_app { if [ ${1} ]; then if [ ! -d /home/${1} ]; then @@ -1313,7 +1288,6 @@ restore_cjdns restore_email restore_dlna restore_voip -restore_tox restore_apps set_user_permissions