|
@@ -31,7 +31,7 @@
|
31
|
31
|
VARIANTS='full media'
|
32
|
32
|
|
33
|
33
|
function upgrade_dlna {
|
34
|
|
- echo ''
|
|
34
|
+ echo ''
|
35
|
35
|
}
|
36
|
36
|
|
37
|
37
|
function configure_firewall_for_dlna {
|
|
@@ -53,7 +53,16 @@ function configure_firewall_for_dlna {
|
53
|
53
|
}
|
54
|
54
|
|
55
|
55
|
function backup_local_dlna {
|
56
|
|
- echo ''
|
|
56
|
+ source_directory=/var/cache/minidlna
|
|
57
|
+ if [ -d $source_directory ]; then
|
|
58
|
+ dest_directory=dlna
|
|
59
|
+ echo $"Backing up $source_directory to $dest_directory"
|
|
60
|
+
|
|
61
|
+ function_check backup_directory_to_usb
|
|
62
|
+ backup_directory_to_usb $source_directory $dest_directory
|
|
63
|
+
|
|
64
|
+ echo $"Backup to $dest_directory complete"
|
|
65
|
+ fi
|
57
|
66
|
}
|
58
|
67
|
|
59
|
68
|
function backup_remote_dlna {
|