1 |
jpp |
1.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"); |