diff --git a/zerotier/rootfs/etc/cont-init.d/zerotier.sh b/zerotier/rootfs/etc/cont-init.d/zerotier.sh index 08774af..91d9266 100644 --- a/zerotier/rootfs/etc/cont-init.d/zerotier.sh +++ b/zerotier/rootfs/etc/cont-init.d/zerotier.sh @@ -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