mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
strongswan: fix OpenWrt hotplug script handling
Commit6cd8fcabeadded 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> (cherry picked from commitd0ac611bf0)
This commit is contained in:
committed by
Jo-Philipp Wich
parent
1f4c93972e
commit
88715598b1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user