summaryrefslogtreecommitdiffstats
path: root/net/wfb-ng/files/wfb-ng.init
blob: 0b71de44e12bc45deb3f404cd6df763afaaa47b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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
}