Fix authtoken.secret file path (#143)
This commit is contained in:
committed by
GitHub
Unverified
parent
98b15e1d36
commit
48d9c38d7c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user