Move remote dlna backup to app script
This commit is contained in:
parent
cecce33265
commit
e3260ed1c9
|
@ -91,7 +91,11 @@ function restore_local_dlna {
|
||||||
}
|
}
|
||||||
|
|
||||||
function backup_remote_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 {
|
function restore_remote_dlna {
|
||||||
|
|
|
@ -276,13 +276,6 @@ function backup_admin_readme {
|
||||||
fi
|
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 {
|
function backup_voip {
|
||||||
if [ -f /etc/mumble-server.ini ]; then
|
if [ -f /etc/mumble-server.ini ]; then
|
||||||
echo $"Backing up VoIP settings"
|
echo $"Backing up VoIP settings"
|
||||||
|
@ -456,7 +449,6 @@ if [[ $TEST_MODE == "no" ]]; then
|
||||||
backup_certs
|
backup_certs
|
||||||
backup_mailing_list
|
backup_mailing_list
|
||||||
|
|
||||||
backup_dlna
|
|
||||||
backup_voip
|
backup_voip
|
||||||
backup_tox
|
backup_tox
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue