1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2009-2011 OpenWrt.org
3 # Copyright (C) 2011 Artem Makhutov
10 mkdir -m 0700 -p /var/racoon
11 [ -f /etc/ipsec.conf ] && /usr/sbin/setkey -f /etc/ipsec.conf
12 service_start /usr/sbin/racoon -f /etc/racoon.conf
16 service_stop /usr/sbin/racoon