Add strongswan (#1330)
[openwrt.git] / package / strongswan / files / ipsec.iface
1 NAME=ipsec
2 CTLFILE="/var/run/pluto.ctl"
3
4 [ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] || exit
5
6 [ -e "$CTLFILE" ] || exit
7
8 /etc/init.d/ipsec restart