mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
endptmngr: do not start if board does not have voice
Prevents the following issue on boards without voice: Thu Dec 2 12:45:07 2021 daemon.info procd: Instance endptmngr::instance1 s in a crash loop 4 crashes, 0 seconds since last crash
This commit is contained in:
parent
9dda4d7ffa
commit
ff7714c88e
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ USE_PROCD=1
|
|||
NAME=endptmngr
|
||||
|
||||
start_service() {
|
||||
[ "$(db -q get hw.board.hasVoice)" = "1" ] || return
|
||||
|
||||
procd_open_instance
|
||||
procd_set_param env hw_board_hasDect=$(db get hw.board.hasDect)
|
||||
procd_set_param command $NAME
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue