Skip to content
Snippets Groups Projects
Commit 44c3d087 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove legacy tox local restore

parent 7a0c054d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment