allow specifying authtoken in central startup

This commit is contained in:
Grant Limberg 2023-04-21 13:20:00 -07:00
parent 8e6e4ede6d
commit e6bd1e05a4
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735

View file

@ -58,6 +58,9 @@ mkdir -p /var/lib/zerotier-one
pushd /var/lib/zerotier-one
ln -s $ZT_IDENTITY_PATH/identity.public identity.public
ln -s $ZT_IDENTITY_PATH/identity.secret identity.secret
if [ -f "$ZT_IDENTITY_PATH/authtoken.secret" ]; then
ln -s $ZT_IDENTITY_PATH/authtoken.secret authtoken.secret
fi
popd
DEFAULT_PORT=9993