/[smecontribs]/rpms/smeserver-arkeia/contribs7/smeserver-arkeia-1.0-recycletape.patch
ViewVC logotype

Contents of /rpms/smeserver-arkeia/contribs7/smeserver-arkeia-1.0-recycletape.patch

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


Revision 1.3 - (show annotations) (download)
Tue Nov 25 16:20:18 2008 UTC (15 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-arkeia-1_0-22_el4_sme, smeserver-arkeia-1_0-21_el4_sme, smeserver-arkeia-1_0-26_el4_sme, smeserver-arkeia-1_0-29_el4_sme, smeserver-arkeia-1_0-20_el4_sme, smeserver-arkeia-1_0-18_el4_sme, smeserver-arkeia-1_0-27_el4_sme, smeserver-arkeia-1_0-19_el4_sme, HEAD
Changes since 1.2: +0 -0 lines
Restore

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-arkeia-1.0/root/etc/e-smith/events/actions/arkeia-recycle-tape mezzanine_patched_smeserver-arkeia-1.0/root/etc/e-smith/events/actions/arkeia-recycle-tape
2 --- smeserver-arkeia-1.0/root/etc/e-smith/events/actions/arkeia-recycle-tape 2007-01-29 21:27:09.000000000 -0700
3 +++ mezzanine_patched_smeserver-arkeia-1.0/root/etc/e-smith/events/actions/arkeia-recycle-tape 2007-01-29 21:26:34.000000000 -0700
4 @@ -5,6 +5,10 @@
5 use strict;
6 use esmith::ConfigDB;
7
8 +my $event = shift;
9 +my $cause = shift;
10 +exit 0 if not defined $cause or $cause ne "tape";
11 +
12 my $cdb = esmith::ConfigDB->open_ro;
13 my $backup = $cdb->get('backup') or die "No backup db entry found\n";
14 my $arkeia = $cdb->get('arkeia') or die "No arkeia db entry found\n";

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