95e0958b84f49c81d4c1fff42b5557b70e8e5498
[openwrt/svn-archive/archive.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