1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-08-22 04:13:41 +03:00
openwrt-xburst/package/strongswan/files/ipsec.iface
florian dceafb31b9 Add strongswan (#1330)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 13:30:51 +00:00

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