1 2 3 4 5 6 7 8
NAME=ipsec CTLFILE="/var/run/pluto.ctl" [ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] || exit [ -e "$CTLFILE" ] || exit /etc/init.d/ipsec update