mirror of
https://github.com/hassio-addons/addon-zerotier.git
synced 2025-05-04 11:11:30 +00:00
🚑 Don't show resolved secrets in add-on log
This commit is contained in:
parent
656a2d9dd8
commit
cc291a4e93
1 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue