wifipineapple-openwrt/package/strongswan/files/ipsec.iface

9 lines
149 B
Plaintext

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