mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user