256e2abbe97ebcd4315f3cc1fdc9954e109f8643
[packages.git] / net / click / files / S50roofnet
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
4 start() {
5         killall -q click
6         cp /usr/bin/srcr.click /tmp
7         sh /usr/bin/gen_config_roofnet.sh > /tmp/unaligned.click
8         click-align /tmp/unaligned.click > /tmp/roofnet.click
9         /usr/bin/click /tmp/roofnet.click > /tmp/roofnet.log 2>&1 &
10 }
11
12 stop() {
13         killall click
14 }