openwrtv3/package/strongswan/files/ipsec.iface
Florian Fainelli c3521420dc Add strongswan (#1330)
SVN-Revision: 6429
2007-02-28 13:30:51 +00:00

8 lines
150 B
Text

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