summaryrefslogtreecommitdiff
path: root/netcon
diff options
context:
space:
mode:
authorJanjaap Bos <janjaap.bos@capitar.com>2016-01-20 16:43:37 -0800
committerJanjaap Bos <janjaap.bos@capitar.com>2016-01-20 16:43:37 -0800
commitc3fc5340b651bde78e083af768f3348dbbef4c89 (patch)
tree0c8585eef461d08d8043c88a83f7b2573f344c5a /netcon
parent4f30b0693027fa25fbf33db28062817caeee8015 (diff)
downloadinfinitytier-c3fc5340b651bde78e083af768f3348dbbef4c89.tar.gz
infinitytier-c3fc5340b651bde78e083af768f3348dbbef4c89.zip
Added check for identiy
Needed if you just copy & paste the whole block.
Diffstat (limited to 'netcon')
-rw-r--r--netcon/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/netcon/README.md b/netcon/README.md
index 19258639..7d7d3b38 100644
--- a/netcon/README.md
+++ b/netcon/README.md
@@ -161,12 +161,18 @@ To run unit tests:
mkdir -p /tmp/netcon_first
cp -f ./netcon/liblwip.so /tmp/netcon_first
./zerotier-netcon-service -d -p8100 /tmp/netcon_first
+ while [ ! -f /tmp/netcon_first/identity.secret ]; do
+ sleep 1
+ done
./zerotier-cli -D/tmp/netcon_first join 8056c2e21c000001
kill `cat /tmp/netcon_first/zerotier-one.pid`
mkdir -p /tmp/netcon_second
cp -f ./netcon/liblwip.so /tmp/netcon_second
./zerotier-netcon-service -d -p8101 /tmp/netcon_second
+ while [ ! -f /tmp/netcon_second/identity.secret ]; do
+ sleep 0.1
+ done
./zerotier-cli -D/tmp/netcon_second join 8056c2e21c000001
kill `cat /tmp/netcon_second/zerotier-one.pid`