From cc291a4e933614ecb84a69d74e4ccafb805cc862 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 16 Apr 2019 23:49:19 +0200 Subject: [PATCH] :ambulance: Don't show resolved secrets in add-on log --- zerotier/rootfs/etc/cont-init.d/zerotier.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zerotier/rootfs/etc/cont-init.d/zerotier.sh b/zerotier/rootfs/etc/cont-init.d/zerotier.sh index 6ff27b3..f264189 100644 --- a/zerotier/rootfs/etc/cont-init.d/zerotier.sh +++ b/zerotier/rootfs/etc/cont-init.d/zerotier.sh @@ -52,13 +52,13 @@ mkdir -p "/var/lib/zerotier-one/networks.d" \ # Install user configured/requested packages if bashio::config.has_value 'networks'; then while read -r network; do + bashio::log.info "Configuring network: ${network}" + # Get network ID from secrets, if it is a secret if bashio::is_secret "${network}"; then network=$(bashio::secret "${network}") fi - bashio::log.info "Configuring network: ${network}" - # Ensure the file exists. An empty file will cause automatic join. touch "/data/network.${network}.conf" ln -s \