From 48d9c38d7cfa54bb01e23684bb365ba36273e916 Mon Sep 17 00:00:00 2001 From: Eddy Daoud Date: Tue, 15 Mar 2022 13:04:58 +0200 Subject: [PATCH] Fix authtoken.secret file path (#143) --- zerotier/rootfs/etc/cont-init.d/zerotier.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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