File tree 4 files changed +9
-20
lines changed 4 files changed +9
-20
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,11 @@ define Package/wfb-ng-full/description
45
45
receiver or transmitter with divesity.
46
46
endef
47
47
48
+ define Package/wfb-ng/conffiles
49
+ /usr/sbin/wfb-ng.sh
50
+ /etc/wifibroadcast.cfg
51
+ endef
52
+
48
53
define Py3Package/wfb-ng-full/install
49
54
$(INSTALL_DIR ) $(1 ) /usr/bin
50
55
$(CP ) $(PKG_INSTALL_DIR ) /usr/bin/* $(1 ) /usr/bin/
Original file line number Diff line number Diff line change @@ -4,23 +4,11 @@ START=99
4
4
STOP=10
5
5
6
6
USE_PROCD=1
7
- NAME=wfb-ng
8
7
9
- SYSUPGRADE_CONF=" /etc/sysupgrade.conf"
10
8
WFB_CFG=" /etc/wifibroadcast.cfg"
11
9
WFB_INIT=" /usr/sbin/wfb-ng.sh"
12
10
WFB_SERVER=" /usr/bin/wfb-server --profiles gs --cluster manual"
13
11
14
- if [ -f $SYSUPGRADE_CONF ] && [ -x $WFB_INIT ] && ! grep -q $WFB_INIT $SYSUPGRADE_CONF
15
- then
16
- echo $WFB_INIT >> $SYSUPGRADE_CONF
17
- fi
18
-
19
- if [ -f $SYSUPGRADE_CONF ] && [ -f $WFB_CFG ] && ! grep -q $WFB_CFG $SYSUPGRADE_CONF
20
- then
21
- echo $WFB_CFG >> $SYSUPGRADE_CONF
22
- fi
23
-
24
12
start_service () {
25
13
# start cluster node
26
14
if [ -x $WFB_INIT ]; then
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ define Package/wfb-ng/description
34
34
standalone receiver or transmitter without diversity.
35
35
endef
36
36
37
+ define Package/wfb-ng/conffiles
38
+ /usr/sbin/wfb-ng.sh
39
+ endef
40
+
37
41
define Package/wfb-ng/install
38
42
$(INSTALL_DIR ) $(1 ) /usr/bin
39
43
$(INSTALL_BIN ) $(PKG_BUILD_DIR ) /wfb_rx $(1 ) /usr/bin/
Original file line number Diff line number Diff line change @@ -4,16 +4,8 @@ START=99
4
4
STOP=10
5
5
6
6
USE_PROCD=1
7
- NAME=wfb-ng
8
-
9
- SYSUPGRADE_CONF=" /etc/sysupgrade.conf"
10
7
WFB_INIT=" /usr/sbin/wfb-ng.sh"
11
8
12
- if [ -f $SYSUPGRADE_CONF ] && [ -x $WFB_INIT ] && ! grep -q $WFB_INIT $SYSUPGRADE_CONF
13
- then
14
- echo $WFB_INIT >> $SYSUPGRADE_CONF
15
- fi
16
-
17
9
start_service () {
18
10
if [ -x $WFB_INIT ]; then
19
11
procd_open_instance wfb-ng
You can’t perform that action at this time.
0 commit comments