mirror of
https://github.com/hassio-addons/addon-zerotier.git
synced 2025-05-04 19:21:25 +00:00
Fix authtoken.secret file path
This commit is contained in:
parent
98b15e1d36
commit
95fa761581
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ bashio::log.info "ZeroTier node address: ${node}"
|
||||||
# Sets the auth token for the local JSON API
|
# Sets the auth token for the local JSON API
|
||||||
if bashio::config.has_value 'api_auth_token'; then
|
if bashio::config.has_value 'api_auth_token'; then
|
||||||
token=$(bashio::config 'api_auth_token')
|
token=$(bashio::config 'api_auth_token')
|
||||||
echo "${token}" > /data/authtoken.secret
|
echo "${token}" > /var/lib/zerotier-one/authtoken.secret
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure network folder exists
|
# Ensure network folder exists
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue