Fix authtoken.secret file path

This commit is contained in:
Eddy Daoud 2022-03-15 12:21:27 +02:00 committed by GitHub
parent 98b15e1d36
commit 95fa761581
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ bashio::log.info "ZeroTier node address: ${node}"
# Sets the auth token for the local JSON API
if bashio::config.has_value 'api_auth_token'; then
token=$(bashio::config 'api_auth_token')
echo "${token}" > /data/authtoken.secret
echo "${token}" > /var/lib/zerotier-one/authtoken.secret
fi
# Ensure network folder exists