Local backup function for dlna
This commit is contained in:
parent
d919518eb9
commit
6beae8d5f3
|
@ -31,7 +31,7 @@
|
|||
VARIANTS='full media'
|
||||
|
||||
function upgrade_dlna {
|
||||
echo ''
|
||||
echo ''
|
||||
}
|
||||
|
||||
function configure_firewall_for_dlna {
|
||||
|
@ -53,7 +53,16 @@ function configure_firewall_for_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 {
|
||||
|
|
Loading…
Reference in New Issue