Browse Source

Local backup function for dlna

stockholm
Bob Mottram 5 years ago
parent
commit
6beae8d5f3
No known key found for this signature in database GPG Key ID: BA68F26108DC9F87
  1. 13
      src/freedombone-app-dlna

13
src/freedombone-app-dlna

@ -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…
Cancel
Save