ZeroTierOne/tests/http/docker-main.sh

12 lines
203 B
Bash
Raw Normal View History

#!/bin/bash
export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin
/zerotier-one -d
2015-10-28 21:16:58 +00:00
while [ ! -d "/proc/sys/net/ipv6/conf/zt0" ]; do
sleep 0.25
done
exec node --harmony /agent.js >>agent.out 2>&1