Local backup function for dlna
This commit is contained in:
parent
d919518eb9
commit
6beae8d5f3
|
@ -53,7 +53,16 @@ function configure_firewall_for_dlna {
|
||||||
}
|
}
|
||||||
|
|
||||||
function backup_local_dlna {
|
function backup_local_dlna {
|
||||||
echo ''
|
source_directory=/var/cache/minidlna
|
||||||
|
if [ -d $source_directory ]; then
|
||||||
|
dest_directory=dlna
|
||||||
|
echo $"Backing up $source_directory to $dest_directory"
|
||||||
|
|
||||||
|
function_check backup_directory_to_usb
|
||||||
|
backup_directory_to_usb $source_directory $dest_directory
|
||||||
|
|
||||||
|
echo $"Backup to $dest_directory complete"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function backup_remote_dlna {
|
function backup_remote_dlna {
|
||||||
|
|
Loading…
Reference in New Issue