mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
c3521420dc
SVN-Revision: 6429
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
|