mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-01-27 17:37:18 +01:00
obuspa: Fix output of async command for Controller
This commit is contained in:
parent
2c06bbeaf0
commit
6d539c17a7
2 changed files with 3 additions and 8 deletions
|
|
@ -8,7 +8,7 @@ PKG_NAME:=obuspa
|
|||
PKG_VERSION:=2.0.0
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=4183a3d4106fd7fd32354067e40c267f9d590a0d
|
||||
PKG_SOURCE_VERSION:=9c7921c8e39acfc31f563bd08220faba1012a834
|
||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/fork/obuspa.git
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
|
||||
|
|
|
|||
|
|
@ -190,6 +190,7 @@ configure_obuspa() {
|
|||
}
|
||||
db_init() {
|
||||
[ -f ${PARAM_FILE} ] && rm -f ${PARAM_FILE}
|
||||
[ -f /tmp/usp.db ] && rm -f /tmp/usp.db
|
||||
|
||||
config_load obuspa
|
||||
config_foreach configure_obuspa obuspa
|
||||
|
|
@ -199,15 +200,9 @@ db_init() {
|
|||
db_set Internal.Reboot.Cause "LocalFactoryReset"
|
||||
}
|
||||
|
||||
boot() {
|
||||
[ -f /tmp/usp.db ] && rm -f /tmp/usp.db
|
||||
|
||||
start
|
||||
}
|
||||
|
||||
start_service() {
|
||||
db_init
|
||||
procd_open_instance obuspa
|
||||
db_init
|
||||
procd_set_param env USP_BOARD_IFNAME=${l3device}
|
||||
procd_set_param command ${PROG}
|
||||
procd_append_param command -p -v 4 -r ${PARAM_FILE}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue