/[smeserver]/rpms/e-smith-lib/sme9/e-smith-lib-2.4.0-accept_sigusr1_or_2_from_files.patch
ViewVC logotype

Contents of /rpms/e-smith-lib/sme9/e-smith-lib-2.4.0-accept_sigusr1_or_2_from_files.patch

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


Revision 1.1 - (show annotations) (download)
Tue Jan 12 21:55:13 2016 UTC (8 years, 4 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-lib-2_4_0-17_el6_sme, e-smith-lib-2_4_0-18_el6_sme, e-smith-lib-2_4_0-16_el6_sme, HEAD
* Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-16.sme
- Adjust regex so adjust-service accepts sigusr1 and sigusr2 from files
  [SME: 9184]

1 diff -Nur e-smith-lib-2.4.0/root/etc/e-smith/events/actions/adjust-services e-smith-lib-2.4.0_bz9184/root/etc/e-smith/events/actions/adjust-services
2 --- e-smith-lib-2.4.0/root/etc/e-smith/events/actions/adjust-services 2006-02-17 04:52:14.000000000 +0100
3 +++ e-smith-lib-2.4.0_bz9184/root/etc/e-smith/events/actions/adjust-services 2016-01-12 22:50:45.338823518 +0100
4 @@ -102,7 +102,7 @@
5 if (open(F, $f))
6 {
7 # Read list of actions from the file, and untaint
8 - @actions = map { chomp; /([a-z]+)/ ; $1 } <F>;
9 + @actions = map { chomp; /([a-z]+[12]?)/ ; $1 } <F>;
10 close(F);
11 }
12 else

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