🚑 Don't show resolved secrets in add-on log
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user