nico 0d3f5c1e27 [packages] net: add a bmx6 package (thanks to Axel)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-16 03:15:22 +00:00

21 lines
270 B
Bash

#!/bin/sh /etc/rc.common
START=91
BIN=/usr/sbin/bmx6
CONF=/etc/config/bmx6
PID=/var/run/bmx6/pid
start() {
#$BIN -f $CONF -d0 > /dev/null &
start-stop-daemon -b -x $BIN -S -- -f $CONF
}
stop() {
start-stop-daemon -p $PID -K
}
restart() {
stop; sleep 3; start
}