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