/[smeserver]/rpms/e-smith-base/sme9/e-smith-base-5.4.0-local_event.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme9/e-smith-base-5.4.0-local_event.patch

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


Revision 1.1 - (show annotations) (download)
Sun Feb 3 22:19:59 2013 UTC (11 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-base-5_4_0-33_el6_sme, e-smith-base-5_4_0-40_el6_sme, e-smith-base-5_4_0-44_el6_sme, e-smith-base-5_4_0-49_el6_sme, e-smith-base-5_4_0-23_el6_sme, e-smith-base-5_4_0-37_el6_sme, e-smith-base-5_4_0-7_el6_sme, e-smith-base-5_4_0-15_el6_sme, e-smith-base-5_4_0-17_el6_sme, e-smith-base-5_4_0-42_el6_sme, e-smith-base-5_4_0-27_el6_sme, e-smith-base-5_4_0-22_el6_sme, e-smith-base-5_4_0-21_el6_sme, e-smith-base-5_4_0-24_el6_sme, e-smith-base-5_4_0-43_el6_sme, e-smith-base-5_4_0-11_el6_sme, e-smith-base-5_4_0-34_el6_sme, e-smith-base-5_4_0-35_el6_sme, e-smith-base-5_4_0-8_el6_sme, e-smith-base-5_4_0-36_el6_sme, e-smith-base-5_4_0-10_el6_sme, e-smith-base-5_4_0-41_el6_sme, e-smith-base-5_4_0-30_el6_sme, e-smith-base-5_4_0-50_el6_sme, e-smith-base-5_4_0-29_el6_sme, e-smith-base-5_4_0-26_el6_sme, e-smith-base-5_4_0-58_el6_sme, e-smith-base-5_4_0-19_el6_sme, e-smith-base-5_4_0-45_el6_sme, e-smith-base-5_4_0-57_el6_sme, e-smith-base-5_4_0-46_el6_sme, e-smith-base-5_4_0-12_el6_sme, e-smith-base-5_4_0-62_el6_sme, e-smith-base-5_4_0-32_el6_sme, e-smith-base-5_4_0-39_el6_sme, e-smith-base-5_4_0-9_el6_sme, e-smith-base-5_4_0-56_el6_sme, e-smith-base-5_4_0-14_el6_sme, e-smith-base-5_4_0-16_el6_sme, e-smith-base-5_4_0-52_el6_sme, e-smith-base-5_4_0-13_el6_sme, e-smith-base-5_4_0-54_el6_sme, e-smith-base-5_4_0-51_el6_sme, e-smith-base-5_4_0-47_el6_sme, e-smith-base-5_4_0-18_el6_sme, e-smith-base-5_4_0-55_el6_sme, e-smith-base-5_4_0-6_el6_sme, e-smith-base-5_4_0-31_el6_sme, e-smith-base-5_4_0-38_el6_sme, e-smith-base-5_4_0-25_el6_sme, e-smith-base-5_4_0-28_el6_sme, e-smith-base-5_4_0-53_el6_sme, e-smith-base-5_4_0-61_el6_sme, e-smith-base-5_4_0-60_el6_sme, e-smith-base-5_4_0-48_el6_sme, e-smith-base-5_4_0-59_el6_sme
* Sun Feb 3 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-6.sme
- Add a daemontools service to run signal-event local [SME: 7230]

1 diff -Nur e-smith-base-5.4.0/createlinks e-smith-base-5.4.0-local_service/createlinks
2 --- e-smith-base-5.4.0/createlinks 2013-01-31 16:52:04.000000000 +0100
3 +++ e-smith-base-5.4.0-local_service/createlinks 2013-02-03 23:14:02.886353766 +0100
4 @@ -593,3 +593,9 @@
5
6 safe_symlink("run.dhclient", "root/var/service/wan/run.DHCPHostname");
7 safe_symlink("run.dhclient", "root/var/service/wan/run.DHCPEthernetAddress");
8 +
9 +# Local event
10 +safe_symlink("daemontools", "root/etc/rc.d/init.d/supervise/local");
11 +safe_symlink("/var/service/local" , 'root/service/local');
12 +safe_touch("root/var/service/local/down");
13 +
14 diff -Nur e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/25local e-smith-base-5.4.0-local_service/root/etc/e-smith/templates/etc/inittab/25local
15 --- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/25local 2005-11-21 05:28:07.000000000 +0100
16 +++ e-smith-base-5.4.0-local_service/root/etc/e-smith/templates/etc/inittab/25local 1970-01-01 01:00:00.000000000 +0100
17 @@ -1,2 +0,0 @@
18 -ll:7:wait:/sbin/e-smith/signal-event local
19 -
20 diff -Nur e-smith-base-5.4.0/root/var/service/local/run e-smith-base-5.4.0-local_service/root/var/service/local/run
21 --- e-smith-base-5.4.0/root/var/service/local/run 1970-01-01 01:00:00.000000000 +0100
22 +++ e-smith-base-5.4.0-local_service/root/var/service/local/run 2013-02-03 22:37:55.876077252 +0100
23 @@ -0,0 +1,3 @@
24 +#!/bin/sh
25 +/sbin/e-smith/signal-event local
26 +/usr/bin/sv d .

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