/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-5.2.0-mdevent.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme8/e-smith-base-5.2.0-mdevent.patch

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


Revision 1.2 - (hide annotations) (download)
Tue Feb 18 06:21:36 2014 UTC (10 years, 8 months ago) by wellsi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove obsolete patch files

1 wellsi 1.1 diff -ruN e-smith-base-5.2.0.old/root/sbin/e-smith/mdevent e-smith-base-5.2.0/root/sbin/e-smith/mdevent
2     --- e-smith-base-5.2.0.old/root/sbin/e-smith/mdevent 2007-01-19 13:33:22.000000000 -0800
3     +++ e-smith-base-5.2.0/root/sbin/e-smith/mdevent 2013-06-24 18:09:29.000000000 -0700
4     @@ -37,6 +37,10 @@
5    
6     print "Event: $event, Device: $device, Member: $member\n";
7    
8     +if ($event =~ m#^Rebuild# && system( "ps -C 99-raid-check" ) == 0 ) {
9     + exit 0;
10     +}
11     +
12     if ($event =~ m#^Rebuild|^Fail|^Degraded|^SpareActive#) {
13     my $domain = $conf->get_value("DomainName") || 'localhost';
14     my $user = "admin_raidreport\@$domain";

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