Skip to content

Commit

Permalink
🚑 Don't show resolved secrets in add-on log
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Apr 16, 2019
1 parent 656a2d9 commit cc291a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zerotier/rootfs/etc/cont-init.d/zerotier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit cc291a4

Please sign in to comment.