0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-06 16:23:08 +00:00
Files
packages/net/wfb-ng/files/wfb-ng.init
Vasily Evseenko 2c171be2b4 wfb-ng: Add wfb-ng package
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>
2024-12-13 23:33:11 +08:00

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
}