mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
Revert 2f8a76e34d
Fix the bug that dectmngr fails to start at the first attempt Wait for the target up and running before starting dectmngr. Otherwise HELLO_REPLY cannot be received and dectmngr exits and is started again by procd.
This commit is contained in:
parent
d34d6e8bf0
commit
3e38df2389
1 changed files with 0 additions and 2 deletions
|
|
@ -31,8 +31,6 @@ start_service() {
|
|||
test $(db get hw.board.hasDect) = "0" && return
|
||||
|
||||
echo 1 > /sys/class/gpio/gpio14/value
|
||||
# wait for the target starts up
|
||||
sleep 2
|
||||
|
||||
rfpi=$(db -q get hw.board.dect_rfpi)
|
||||
[ -n "$rfpi" -a ${#rfpi} -eq 14 ] && opt_ext="$opt_ext -rfpi $rfpi"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue