1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-backup-1.14.0/root/etc/e-smith/events/actions/eject-tape mezzanine_patched_e-smith-backup-1.14.0/root/etc/e-smith/events/actions/eject-tape |
2 |
|
|
--- e-smith-backup-1.14.0/root/etc/e-smith/events/actions/eject-tape 2007-01-05 09:15:08.000000000 -0700 |
3 |
|
|
+++ mezzanine_patched_e-smith-backup-1.14.0/root/etc/e-smith/events/actions/eject-tape 2007-01-05 09:10:34.000000000 -0700 |
4 |
|
|
@@ -7,7 +7,7 @@ |
5 |
|
|
|
6 |
|
|
my $event = shift; |
7 |
|
|
my $cause = shift; |
8 |
|
|
-exit 0 if not defined $cause or $cause eq "desktop"; |
9 |
|
|
+exit 0 if not defined $cause or $cause ne "tape"; |
10 |
|
|
|
11 |
|
|
my $confdb = esmith::ConfigDB->open_ro; |
12 |
|
|
my $backup = $confdb->get('backup') or die "No backup db entry found\n"; |
13 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-backup-1.14.0/root/etc/e-smith/events/actions/rewind-tape mezzanine_patched_e-smith-backup-1.14.0/root/etc/e-smith/events/actions/rewind-tape |
14 |
|
|
--- e-smith-backup-1.14.0/root/etc/e-smith/events/actions/rewind-tape 2004-03-01 13:23:34.000000000 -0700 |
15 |
|
|
+++ mezzanine_patched_e-smith-backup-1.14.0/root/etc/e-smith/events/actions/rewind-tape 2007-01-05 09:11:22.000000000 -0700 |
16 |
|
|
@@ -28,7 +28,7 @@ |
17 |
|
|
|
18 |
|
|
my $event = shift; |
19 |
|
|
my $cause = shift; |
20 |
|
|
-exit 0 if not defined $cause or $cause eq "desktop"; |
21 |
|
|
+exit 0 if not defined $cause or $cause ne "tape"; |
22 |
|
|
|
23 |
|
|
my $confdb = esmith::ConfigDB->open_ro; |
24 |
|
|
my $backup = $confdb->get('backup') or die "No backup db entry found\n"; |