Fix missing symlink and high CPU usage of route watchdog on Synology

This commit is contained in:
Joseph Henry 2022-04-11 15:22:13 -07:00
parent 29566bfe7d
commit 4dbdfb6972
No known key found for this signature in database
GPG Key ID: C45B33FF5EBC9344
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"version": "1.8.7", "version": "1.8.7",
"rev": "0", "rev": "1",
"desc": "Securely connect any device, anywhere.", "desc": "Securely connect any device, anywhere.",
"email": "support@zerotier.com" "email": "support@zerotier.com"
} }

View File

@ -38,6 +38,8 @@ configure_cli()
mkdir -p /usr/local/bin/ mkdir -p /usr/local/bin/
ln -s $SYNOPKG_PKGDEST/bin/zerotier-one /usr/local/bin/zerotier-cli ln -s $SYNOPKG_PKGDEST/bin/zerotier-one /usr/local/bin/zerotier-cli
ln -s $SYNOPKG_PKGDEST/bin/zerotier-one /usr/local/bin/zerotier-idtool ln -s $SYNOPKG_PKGDEST/bin/zerotier-one /usr/local/bin/zerotier-idtool
rm -rf /var/lib/zerotier-one
ln -s /var/packages/zerotier/var /var/lib/zerotier-one
} }
apply_routes() apply_routes()
@ -69,8 +71,8 @@ apply_routes()
fi fi
done done
done done
sleep 15
fi fi
sleep 15
done done
} }