/[smeserver]/rpms/e-smith-backup/sme8/e-smith-backup-1.14.0-reminderemail.patch
ViewVC logotype

Annotation of /rpms/e-smith-backup/sme8/e-smith-backup-1.14.0-reminderemail.patch

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


Revision 1.2 - (hide annotations) (download)
Sat Sep 8 00:55:21 2007 UTC (17 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Update packages

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-backup-1.14.0/root/etc/e-smith/templates/etc/crontab/backup mezzanine_patched_e-smith-backup-1.14.0/root/etc/e-smith/templates/etc/crontab/backup
2     --- e-smith-backup-1.14.0/root/etc/e-smith/templates/etc/crontab/backup 2007-03-07 14:54:24.000000000 -0700
3     +++ mezzanine_patched_e-smith-backup-1.14.0/root/etc/e-smith/templates/etc/crontab/backup 2007-03-07 14:53:48.000000000 -0700
4     @@ -22,7 +22,7 @@
5    
6     my $reminderTime = $backup{reminderTime} || "14:00";
7     my ($reminderHour, $reminderMin) = split (":", $reminderTime, -1);
8     -
9     + my $reminderEmail = $backup{reminderEmail} || 'admin';
10    
11     # remove leading zeros from minutes
12     $reminderMin =~ s/00/0/;
13     @@ -31,7 +31,8 @@
14     "$reminderMin $reminderHour * * * root"
15     . " /bin/mt -f $device status | grep ONLINE > /dev/null 2>&1 ||"
16     . ' echo "' . gettext("Remember to load the backup tape!") . '"'
17     - . "\n";
18     + . ' | mail -s "' . gettext("Remember to load the backup tape!") . '"'
19     + . " $reminderEmail\n";
20    
21     my $backupTime = $backup{backupTime} || "2:00";
22     my ($backupHour, $backupMin) = split (":", $backupTime, -1);

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