openwrtv3/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

8 lines
149 B
Text

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