mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
dectmngr-3.4.5 Set RXTUN value during the start up
This commit is contained in:
parent
57b528f2af
commit
55f1310daa
2 changed files with 6 additions and 2 deletions
|
|
@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=dectmngr
|
PKG_NAME:=dectmngr
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=3
|
||||||
PKG_VERSION:=3.4.4
|
PKG_VERSION:=3.4.5
|
||||||
|
|
||||||
LOCAL_DEV=0
|
LOCAL_DEV=0
|
||||||
ifneq ($(LOCAL_DEV),1)
|
ifneq ($(LOCAL_DEV),1)
|
||||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/dectmngr.git
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/dectmngr.git
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_VERSION:=95214c42846af4afa60104757ae9dd3be298137f
|
PKG_SOURCE_VERSION:=dc4ab94225280143530346c8e8e4ccaf51f836be
|
||||||
PKG_MIRROR_HASH:=skip
|
PKG_MIRROR_HASH:=skip
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ start_service() {
|
||||||
local opt_ext=
|
local opt_ext=
|
||||||
local rfpi=
|
local rfpi=
|
||||||
local model_id=
|
local model_id=
|
||||||
|
local rxtun=
|
||||||
|
|
||||||
test $(db get hw.board.hasDect) = "0" && return
|
test $(db get hw.board.hasDect) = "0" && return
|
||||||
|
|
||||||
|
|
@ -41,6 +42,9 @@ start_service() {
|
||||||
}
|
}
|
||||||
opt_ext="$opt_ext -model $model_id"
|
opt_ext="$opt_ext -model $model_id"
|
||||||
|
|
||||||
|
rxtun=$(db -q get hw.board.dect_rxtun)
|
||||||
|
[ -n "$rxtun" -a ${#rxtun} -eq 2 ] && opt_ext="$opt_ext -rxtun $rxtun"
|
||||||
|
|
||||||
config_load dect
|
config_load dect
|
||||||
config_get log_dect_cmbs global log_dect_cmbs syslog
|
config_get log_dect_cmbs global log_dect_cmbs syslog
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue