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