/[smeserver]/rpms/e-smith-tinydns/sme10/e-smith-tinydns-2.6.0-rc7_link-rpm_update.patch
ViewVC logotype

Contents of /rpms/e-smith-tinydns/sme10/e-smith-tinydns-2.6.0-rc7_link-rpm_update.patch

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


Revision 1.1 - (show annotations) (download)
Thu Nov 19 05:54:59 2020 UTC (3 years, 7 months ago) by michel
Branch: MAIN
CVS Tags: e-smith-tinydns-2_6_0-4_el7_sme, e-smith-tinydns-2_6_0-3_el7_sme
* Thu Nov 19 2020 Michel Begue <mab974@gmail.com> 2.6.0-3.sme
- remove rc7.d link [SME: 11098]
- fix date in changelog
- fix actions in e-smith-tinydns-update [SME: 11159]

1 diff -urN e-smith-tinydns-2.6.0.old/createlinks e-smith-tinydns-2.6.0/createlinks
2 --- e-smith-tinydns-2.6.0.old/createlinks 2020-11-18 16:09:39.000000000 +0400
3 +++ e-smith-tinydns-2.6.0/createlinks 2020-11-19 09:42:50.874000000 +0400
4 @@ -19,14 +19,24 @@
5 ));
6 }
7
8 +#--------------------------------------------------
9 +# actions for ip-change event
10 +#--------------------------------------------------
11 my $event = "ip-change";
12 safe_symlink("sigusr2", "root/etc/e-smith/events/$event/services2adjust/tinydns");
13
14 +#--------------------------------------------------
15 +# actions for e-smith-tinydns-update event
16 +#--------------------------------------------------
17 $event = "e-smith-tinydns-update";
18 -safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/tinydns");
19 +safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/tinydns");
20 +templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);
21 +event_link("systemd-reload", $event, "94");
22 +event_link("reset-unsavedflag", $event, "95");
23
24 +#--------------------------------------------------
25 safe_symlink("daemontools", "root/etc/rc.d/init.d/tinydns");
26 -service_link_enhanced("tinydns", "S55", "7");
27 +#service_link_enhanced("tinydns", "S55", "7");
28 service_link_enhanced("tinydns", "K65", "6");
29 service_link_enhanced("tinydns", "K65", "0");
30 service_link_enhanced("tinydns", "K65", "1");

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