1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2007 OpenWrt.org
9 config_get destination "$section" destination
10 config_get sourceport "$section" sourceport
12 echo start httptunnel: dest: "$destination", src: "$sourceport"
14 $BIN --forward-port "$destination" "$sourceport"
19 config_load httptunnel
20 config_foreach start_httptunnel httptunnel
24 ps aux | grep hts | awk '{print }' | \
25 xargs kill 2> /dev/null