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