1 |
diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/events/actions/ipsec-update smeserver-libreswan-0.5/root/etc/e-smith/events/actions/ipsec-update |
2 |
--- smeserver-libreswan-0.5.old/root/etc/e-smith/events/actions/ipsec-update 2025-02-11 13:59:37.111200955 +0100 |
3 |
+++ smeserver-libreswan-0.5/root/etc/e-smith/events/actions/ipsec-update 2025-02-11 14:02:43.040218470 +0100 |
4 |
@@ -18,6 +18,8 @@ |
5 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
6 |
#---------------------------------------------------------------------- |
7 |
|
8 |
+# Feb 2025 this needs updating for systemd |
9 |
+ |
10 |
# Note that we do not need to use the init ipsec script - we can start and |
11 |
# stop directly using /usr/sbin/ipsec which will call the init script |
12 |
|
13 |
@@ -240,7 +242,7 @@ |
14 |
} |
15 |
|
16 |
print "Ipsec Information - ipsec enabled - Starting ipsec\n "; |
17 |
- my $myStartConnection = qx(/etc/rc.d/init.d/ipsec start); |
18 |
+ my $myStartConnection = qx(/usr/sbin/ipsec start); |
19 |
die("Ipsec Error - Unable to launch ipsec start : $!\n ") |
20 |
if not defined $myStartConnection; |
21 |
die("Ipsec Error - Unable to launch ipsec start ( error code $?)\n ") if $?; |