/[smecontribs]/rpms/smeserver-rdiff-backup/contribs9/smeserver-rdiff-backup-0.0.1-backupdisk.patch
ViewVC logotype

Contents of /rpms/smeserver-rdiff-backup/contribs9/smeserver-rdiff-backup-0.0.1-backupdisk.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Aug 14 19:34:11 2017 UTC (7 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-rdiff-backup-0_0_1-20_el6_sme, HEAD
Initial import

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 +}

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed