1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-04 02:01:25 +02:00
openwrt/package/strongswan/files/ipsec.iface
Florian Fainelli 3e2b718c4c Do not restart ipsec on hotplug events (#2212)
SVN-Revision: 8577
2007-09-02 19:40:35 +00:00

9 lines
149 B
Plaintext

NAME=ipsec
CTLFILE="/var/run/pluto.ctl"
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] || exit
[ -e "$CTLFILE" ] || exit
/etc/init.d/ipsec update