Browse Source

rtty: Fix the bug of startup script

Not correctly judging whether uci_validate_section is successful

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
lilik-openwrt-22.03
Jianhui Zhao 7 years ago
parent
commit
210f6ecfd9
2 changed files with 1 additions and 1 deletions
  1. +0
    -0
      utils/rtty/files/rtty.config
  2. +1
    -1
      utils/rtty/files/rtty.init

+ 0
- 0
utils/rtty/files/rtty.config View File


+ 1
- 1
utils/rtty/files/rtty.init View File

@ -20,7 +20,7 @@ start_rtty() {
'ssl:bool:0' \
'ping:uinteger:5'
[ $? -eq 1 ] && {
[ $? -ne 0 ] && {
echo "validation failed" >&2
return 1
}


Loading…
Cancel
Save