projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70f13d
)
zerotier: show message when section disabled
author
Moritz Warning
<moritzwarning@web.de>
Thu, 12 Apr 2018 15:48:32 +0000
(17:48 +0200)
committer
Moritz Warning
<moritzwarning@web.de>
Thu, 12 Apr 2018 21:20:38 +0000
(23:20 +0200)
Signed-off-by: Moritz Warning <moritzwarning@web.de>
net/zerotier/files/zerotier.init
patch
|
blob
|
history
diff --git
a/net/zerotier/files/zerotier.init
b/net/zerotier/files/zerotier.init
index 6d0f4f239dec776c40fc579b919ea2ee70f6e7f7..390dbd3127a8625f4d9ad579fceb9db90d10e499 100644
(file)
--- a/
net/zerotier/files/zerotier.init
+++ b/
net/zerotier/files/zerotier.init
@@
-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'