packages/net/ptunnel/files/ptunnel.init
florian 4210308eb5 Add init files and iptables rule for ptunnel to work (#2863)
Signed-off-by: michu-at-neophob-com


git-svn-id: svn://svn.openwrt.org/openwrt/packages@9818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-21 09:34:01 +00:00

14 lines
200 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2007 OpenWrt.org
START=70
STOP=70
start() {
iptables -I OUTPUT 1 -p icmp -j ACCEPT
ptunnel -v 1 -c br-lan
}
stop() {
killall ptunnel
}