From 939a2a8e4b51ce68342393df50a307d17d4a713b Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Thu, 12 Apr 2018 17:43:13 +0200 Subject: [PATCH] zerotier: remove broken option interface Signed-off-by: Moritz Warning --- net/zerotier/files/zerotier.config | 3 --- net/zerotier/files/zerotier.init | 8 +------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/net/zerotier/files/zerotier.config b/net/zerotier/files/zerotier.config index 9d49490e3b..b62e15532d 100644 --- a/net/zerotier/files/zerotier.config +++ b/net/zerotier/files/zerotier.config @@ -5,9 +5,6 @@ config zerotier sample_config # persistent configuration folder (for ZT controller mode) #option config_path '/etc/zerotier' - # restart ZT when wan status changed - option interface 'wan' - #option port '9993' # Generate secret on first start diff --git a/net/zerotier/files/zerotier.init b/net/zerotier/files/zerotier.init index d4831bdd56..1c931256ca 100644 --- a/net/zerotier/files/zerotier.init +++ b/net/zerotier/files/zerotier.init @@ -14,7 +14,7 @@ section_enabled() { start_instance() { local cfg="$1" - local port secret interface config_path + local port secret config_path local ARGS="" section_enabled "$cfg" || return 1 @@ -22,7 +22,6 @@ start_instance() { config_get config_path $cfg 'config_path' config_get_bool port $cfg 'port' config_get secret $cfg 'secret' - config_get interface $cfg 'interface' # Remove existing link or folder rm -rf $CONFIG_PATH @@ -68,15 +67,10 @@ start_instance() { config_list_foreach $cfg 'join' add_join procd_open_instance - procd_add_reload_interface_trigger "$interface" procd_set_param command $PROG $ARGS $CONFIG_PATH procd_close_instance } -service_triggers() { - procd_add_reload_trigger zerotier -} - start_service() { config_load 'zerotier' config_foreach start_instance 'zerotier' -- 2.30.2