mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
strongswan: fix OpenWrt hotplug script handling
Commit 6cd8fcabe added ipsec hotplug script support by calling "exec
/sbin/hotplug-call ipsec".
Using the exec call breaks the insertion of iptables rules by the _updown.in
script as hotplug-call just replaces the current shell meaning the commands
following exec do not run since the shell is replaced and as a result lead to
connectivity issues.
Fix this by removing the exec command in front of /sbin/hotplug-call.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
+# This files/scripts are executed by the openwrt hotplug functionality on
|
+# This files/scripts are executed by the openwrt hotplug functionality on
|
||||||
+# ipsec events.
|
+# ipsec events.
|
||||||
+
|
+
|
||||||
+exec /sbin/hotplug-call ipsec "$1"
|
+/sbin/hotplug-call ipsec "$1"
|
||||||
+
|
+
|
||||||
# PLUTO_VERSION
|
# PLUTO_VERSION
|
||||||
# indicates what version of this interface is being
|
# indicates what version of this interface is being
|
||||||
|
|||||||
Reference in New Issue
Block a user