mirror of
https://github.com/openwrt/packages.git
synced 2025-07-06 16:23:08 +00:00
WFB-ng is long-range packet radio link based on raw WiFi radio. Adding it to openwrt base packages will help a lot of it users to use cheap wifi routers (supporting minitoring mode) instead of build custom hardware yourself. Signed-off-by: Vasily Evseenko <svpcom@gmail.com>
19 lines
405 B
Bash
Executable File
19 lines
405 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
|
|
START=99
|
|
STOP=10
|
|
|
|
USE_PROCD=1
|
|
WFB_INIT="/usr/sbin/wfb-ng.sh"
|
|
|
|
start_service() {
|
|
if [ -x $WFB_INIT ]; then
|
|
procd_open_instance wfb-ng
|
|
procd_set_param command $WFB_INIT
|
|
procd_set_param respawn
|
|
procd_set_param stdout 1
|
|
procd_set_param stderr 1
|
|
procd_close_instance
|
|
fi
|
|
}
|