mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 04:57:53 +00:00
14 lines
281 B
Bash
Executable File
14 lines
281 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin
|
|
|
|
cd `dirname $0`
|
|
if [ ! -d cluster-geo -o ! -f cluster-geo/cluster-geo.js ]; then
|
|
echo 'Cannot find ./cluster-geo containing NodeJS script files.'
|
|
exit 1
|
|
fi
|
|
|
|
cd cluster-geo
|
|
|
|
exec node --harmony cluster-geo.js
|