summaryrefslogtreecommitdiffstats
path: root/package/strongswan/files/ipsec.iface
blob: 95e0958b84f49c81d4c1fff42b5557b70e8e5498 (plain)
1
2
3
4
5
6
7
8
NAME=ipsec
CTLFILE="/var/run/pluto.ctl"

[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] || exit

[ -e "$CTLFILE" ] || exit

/etc/init.d/ipsec restart