1 |
unnilennium |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-rdiff-backup-0.0.1/root/etc/e-smith/templates/etc/smb.conf/99backupdisk mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/etc/e-smith/templates/etc/smb.conf/99backupdisk |
2 |
|
|
--- smeserver-rdiff-backup-0.0.1/root/etc/e-smith/templates/etc/smb.conf/99backupdisk 1970-01-01 10:00:00.000000000 +1000 |
3 |
|
|
+++ mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/etc/e-smith/templates/etc/smb.conf/99backupdisk 2006-11-16 17:35:51.593275915 +1100 |
4 |
|
|
@@ -0,0 +1,20 @@ |
5 |
|
|
+{ |
6 |
|
|
+ my %rdb = %{'rdiff-backup'}; |
7 |
|
|
+ |
8 |
|
|
+ return "#rdiff-backup disabled" unless $rdb{status} eq 'enabled'; |
9 |
|
|
+ |
10 |
|
|
+ my $path = $rdb{LocalPath} . "/" . $sysconfig{SystemID}; |
11 |
|
|
+ |
12 |
|
|
+ $OUT .= <<"END_OF_HEREDOC"; |
13 |
|
|
+[backupdisk] |
14 |
|
|
+comment = backup disk |
15 |
|
|
+path = $path |
16 |
|
|
+read only = yes |
17 |
|
|
+writable = no |
18 |
|
|
+printable = no |
19 |
|
|
+inherit permissions = yes |
20 |
|
|
+create mode = 0640 |
21 |
|
|
+valid users = admin |
22 |
|
|
+END_OF_HEREDOC |
23 |
|
|
+ |
24 |
|
|
+} |