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:
parent
af5f04a068
commit
d0ac611bf0
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
+# This files/scripts are executed by the openwrt hotplug functionality on
|
||||
+# ipsec events.
|
||||
+
|
||||
+exec /sbin/hotplug-call ipsec "$1"
|
||||
+/sbin/hotplug-call ipsec "$1"
|
||||
+
|
||||
# PLUTO_VERSION
|
||||
# indicates what version of this interface is being
|
||||
|
|
Loading…
Reference in a new issue