1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2007-2009 OpenWrt.org
8 config_foreach start_ptunnel ptunnel
17 iptables
-I OUTPUT
1 -p icmp
-j ACCEPT
18 config_get interface
"$section" interface
20 $BIN -c "$interface" > /dev
/null
&
24 ps aux |
grep ptunnel |
awk '{print }' | \
25 xargs kill 2> /dev
/null