Browse Source

Move remote dlna backup to app script

stockholm
Bob Mottram 5 years ago
parent
commit
e3260ed1c9
  1. 6
      src/freedombone-app-dlna
  2. 8
      src/freedombone-backup-remote

6
src/freedombone-app-dlna

@ -91,7 +91,11 @@ function restore_local_dlna {
}
function backup_remote_dlna {
echo -n ''
if [ -d /var/cache/minidlna ]; then
echo $"Backing up DLNA cache"
backup_directory_to_friend /var/cache/minidlna dlna
echo $"Backup of DLNA cache complete"
fi
}
function restore_remote_dlna {

8
src/freedombone-backup-remote

@ -276,13 +276,6 @@ function backup_admin_readme {
fi
}
function backup_dlna {
if [ -d /var/cache/minidlna ]; then
echo $"Backing up DLNA cache"
backup_directory_to_friend /var/cache/minidlna dlna
fi
}
function backup_voip {
if [ -f /etc/mumble-server.ini ]; then
echo $"Backing up VoIP settings"
@ -456,7 +449,6 @@ if [[ $TEST_MODE == "no" ]]; then
backup_certs
backup_mailing_list
backup_dlna
backup_voip
backup_tox

Loading…
Cancel
Save