ZeroTierOne/tests/http/docker-main.sh
2015-10-30 13:06:30 -07:00

15 lines
267 B
Bash
Executable File

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