Fix multiple network join from environment entrypoint.sh.release (#1961)

This commit is contained in:
Leonardo Amaral 2023-04-12 11:47:26 -03:00 committed by GitHub
parent 2115b18ae3
commit 7f63d896f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ done
if [ "x$ZEROTIER_JOIN_NETWORKS" != "x" ] if [ "x$ZEROTIER_JOIN_NETWORKS" != "x" ]
then then
log_params "Joining networks from environment:" $ZEROTIER_JOIN_NETWORKS log_params "Joining networks from environment:" $ZEROTIER_JOIN_NETWORKS
for i in "$ZEROTIER_JOIN_NETWORKS" for i in $ZEROTIER_JOIN_NETWORKS
do do
log_detail_params "Configuring join:" "$i" log_detail_params "Configuring join:" "$i"
touch "/var/lib/zerotier-one/networks.d/${i}.conf" touch "/var/lib/zerotier-one/networks.d/${i}.conf"