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

Annotation of /rpms/smeserver-rdiff-backup/contribs7/smeserver-rdiff-backup-0.0.1-backupdisk.patch

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


Revision 1.3 - (hide annotations) (download)
Tue Nov 25 16:20:29 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Restore

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

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