/[smeserver]/rpms/smeserver-support/sme7/smeserver-support-1.6.0-statusreport.sleep.patch
ViewVC logotype

Annotation of /rpms/smeserver-support/sme7/smeserver-support-1.6.0-statusreport.sleep.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 17:38:22 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-support-1_6_0-39_el4_sme, smeserver-support-1_6_0-38_el4_sme, smeserver-support-1_6_0-44_el4_sme, smeserver-support-1_6_0-41_el4_sme, smeserver-support-1_6_0-43_el4_sme, smeserver-support-1_6_0-48_el4_sme, smeserver-support-1_6_0-50_el4_sme, smeserver-support-1_6_0-49_el4_sme, smeserver-support-1_6_0-40_el4_sme, smeserver-support-1_6_0-45_el4_sme, smeserver-support-1_6_0-53_el4_sme, smeserver-support-1_6_0-46_el4_sme, smeserver-support-1_6_0-52_el4_sme, smeserver-support-1_6_0-47_el4_sme, smeserver-support-1_6_0-51_el4_sme
Import on branch sme7 of package smeserver-support-1.6.0-38.el4.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-support-1.6.0/root/etc/e-smith/templates/etc/crontab/statusreport mezzanine_patched_smeserver-support-1.6.0/root/etc/e-smith/templates/etc/crontab/statusreport
2     --- smeserver-support-1.6.0/root/etc/e-smith/templates/etc/crontab/statusreport 2006-05-26 10:31:01.116860409 +1000
3     +++ mezzanine_patched_smeserver-support-1.6.0/root/etc/e-smith/templates/etc/crontab/statusreport 2006-05-26 10:30:40.233498230 +1000
4     @@ -6,5 +6,6 @@
5     my $hour = ${statusreport}{Hour};
6     my $minute = ${statusreport}{Minute};
7    
8     - return "$minute $hour * * $dow root /sbin/e-smith/statusreport";
9     + return "$minute $hour * * $dow root "
10     + . q{ sleep $[ $RANDOM % 60 ]; /sbin/e-smith/statusreport };
11     }

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