From a171af6483dcb6d5e076e02542288fb52025a2f5 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 17 Sep 2019 19:30:15 +0200 Subject: [PATCH] :fire: Removes secrets resolving, now handled by Hassio --- zerotier/config.json | 1 - zerotier/rootfs/etc/cont-init.d/zerotier.sh | 5 ----- 2 files changed, 6 deletions(-) diff --git a/zerotier/config.json b/zerotier/config.json index ec7d6b2..ecc2ed4 100755 --- a/zerotier/config.json +++ b/zerotier/config.json @@ -31,7 +31,6 @@ "/dev/net/tun:/dev/net/tun:rwm" ], "map": [ - "config", "ssl:rw" ], "options": { diff --git a/zerotier/rootfs/etc/cont-init.d/zerotier.sh b/zerotier/rootfs/etc/cont-init.d/zerotier.sh index f264189..62241c1 100644 --- a/zerotier/rootfs/etc/cont-init.d/zerotier.sh +++ b/zerotier/rootfs/etc/cont-init.d/zerotier.sh @@ -54,11 +54,6 @@ 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 - # Ensure the file exists. An empty file will cause automatic join. touch "/data/network.${network}.conf" ln -s \