da3b1433720a3ea72904d6802a92946e3965ad29
[openwrt/svn-archive/archive.git] / net / ptunnel / files / ptunnel.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2007 OpenWrt.org
3 START=70
4 STOP=70
5
6 start() {
7 iptables -I OUTPUT 1 -p icmp -j ACCEPT
8 ptunnel -v 1 -c br-lan
9 }
10
11 stop() {
12 killall ptunnel
13 }
14