Browse Source

coova-chilli: enable service by default

If "disabled" option does not exist, service should be enabled.

Fixes: #10392

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
lilik-openwrt-22.03
Sungbo Eo 5 years ago
parent
commit
23a44aab2a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/coova-chilli/files/chilli.init

+ 1
- 1
net/coova-chilli/files/chilli.init View File

@ -49,7 +49,7 @@ start_chilli() {
local cfg="$1"
local base="/var/run/chilli_${cfg}"
config_get_bool disabled "$1" 'disabled' 1
config_get_bool disabled "$1" 'disabled' 0
[ $disabled = 1 ] && return
procd_open_instance "$cfg"


Loading…
Cancel
Save