1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-04 18:21:52 +02:00
openwrt/package/strongswan/files/ipsec.iface

9 lines
150 B
Plaintext
Raw Normal View History

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