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

Contents of /rpms/e-smith-backup/sme7/e-smith-backup-1.14.0-reminderemail.patch

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


Revision 1.1 - (show annotations) (download)
Tue Jun 12 15:12:36 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-backup-1_14_0-16_el4_sme, e-smith-backup-1_14_0-20_el4_sme, e-smith-backup-1_14_0-15_el4_sme, e-smith-backup-1_14_0-25_el4_sme, e-smith-backup-1_14_0-26_el4_sme, e-smith-backup-1_14_0-23_el4_sme, e-smith-backup-1_14_0-24_el4_sme, e-smith-backup-1_14_0-21_el4_sme, e-smith-backup-1_14_0-22_el4_sme, e-smith-backup-1_14_0-14_el4_sme, e-smith-backup-1_14_0-17_el4_sme, e-smith-backup-1_14_0-19_el4_sme, e-smith-backup-1_14_0-18_el4_sme
Branch point for: e-smith-backup-1_14-tree
Import on branch sme7 of package e-smith-backup-1.14.0-14.el4.sme.src.rpm

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