Browse Source

zerotier: show message when section disabled

Signed-off-by: Moritz Warning <moritzwarning@web.de>
lilik-openwrt-22.03
Moritz Warning 6 years ago
parent
commit
279967df99
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      net/zerotier/files/zerotier.init

+ 4
- 1
net/zerotier/files/zerotier.init View File

@ -17,7 +17,10 @@ start_instance() {
local port secret config_path
local ARGS=""
section_enabled "$cfg" || return 1
if ! section_enabled "$cfg"; then
echo "disabled in config"
return 1
fi
config_get config_path $cfg 'config_path'
config_get_bool port $cfg 'port'


Loading…
Cancel
Save