mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-25 08:35:56 +02:00
9 lines
150 B
Plaintext
9 lines
150 B
Plaintext
|
NAME=ipsec
|
||
|
CTLFILE="/var/run/pluto.ctl"
|
||
|
|
||
|
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] || exit
|
||
|
|
||
|
[ -e "$CTLFILE" ] || exit
|
||
|
|
||
|
/etc/init.d/ipsec restart
|