remove PKG_CAT from packages
[openwrt/svn-archive/archive.git] / net / click / files / roofnet.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3 START=50
4
5 start() {
6 killall -q click
7 cp /usr/bin/srcr.click /tmp
8 sh /usr/bin/gen_config_roofnet.sh > /tmp/unaligned.click
9 click-align /tmp/unaligned.click > /tmp/roofnet.click
10 /usr/bin/click /tmp/roofnet.click > /tmp/roofnet.log 2>&1 &
11 }
12
13 stop() {
14 killall click
15 }