Move remote dlna backup to app script

This commit is contained in:
Bob Mottram 2016-07-09 21:40:11 +01:00
parent cecce33265
commit e3260ed1c9
2 changed files with 5 additions and 9 deletions

View File

@ -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 {

View File

@ -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