mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-17 04:44:10 +02: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:
parent
2ce311209d
commit
23a44aab2a
|
@ -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…
Reference in New Issue
Block a user