summaryrefslogtreecommitdiffstats
path: root/package/strongswan/files/ipsec.iface
blob: 0716bf79bc54685b04e1a22102f2a1e0ea91660e (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 update