cebd3edf9d
vis package added git-svn-id: svn://svn.openwrt.org/openwrt/packages@15332 3c298f89-4303-0410-b956-a3cf2f4a3e73
21 lines
327 B
Bash
21 lines
327 B
Bash
#!/bin/sh /etc/rc.common
|
|
START=90
|
|
. /lib/config/uci.sh
|
|
uci_load vis
|
|
start () {
|
|
interface=$(uci get vis.general.interface)
|
|
if [ "$interface" = "" ]; then
|
|
echo $1 Error, you must specify at least a network interface
|
|
exit
|
|
fi
|
|
vis_args=$interface
|
|
|
|
vis $vis_args >/dev/null 2>&1
|
|
}
|
|
|
|
stop () {
|
|
killall vis
|
|
}
|
|
|
|
|