1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-23 22:59:55 +02:00
openwrt-xburst/package/strongswan/files/ipsec.iface
florian 079261ca7b Do not restart ipsec on hotplug events (#2212)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-02 19:40:35 +00:00

9 lines
149 B
Plaintext

NAME=ipsec
CTLFILE="/var/run/pluto.ctl"
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] || exit
[ -e "$CTLFILE" ] || exit
/etc/init.d/ipsec update