/[smeserver]/rpms/e-smith-portforwarding/sme10/e-smith-portforwarding-2.6.0-bz11148-update.patch
ViewVC logotype

Contents of /rpms/e-smith-portforwarding/sme10/e-smith-portforwarding-2.6.0-bz11148-update.patch

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


Revision 1.1 - (show annotations) (download)
Wed Jan 6 20:31:11 2021 UTC (3 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-portforwarding-2_6_0-3_el7_sme, HEAD
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
- add update event [SME: 11148]

1 diff -Nur e-smith-portforwarding-2.6.0.old/createlinks e-smith-portforwarding-2.6.0/createlinks
2 --- e-smith-portforwarding-2.6.0.old/createlinks 2005-03-19 21:14:12.000000000 -0500
3 +++ e-smith-portforwarding-2.6.0/createlinks 2021-01-06 15:28:10.777000000 -0500
4 @@ -14,3 +14,10 @@
5 my $event = "portforwarding-update";
6 templates2events("/etc/rc.d/init.d/masq", $event);
7 safe_symlink("adjust", "root/etc/e-smith/events/$event/services2adjust/masq");
8 +
9 +my $event = "e-smith-portforwarding-update";
10 +templates2events("/etc/rc.d/init.d/masq", $event);
11 +safe_symlink("adjust", "root/etc/e-smith/events/$event/services2adjust/masq");
12 +# systemd-specific action mandatory for this package-update event
13 +event_link("systemd-reload", $event, "89");
14 +event_link("systemd-default", $event, "88");

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