This commit is contained in:
Adam Ierymenko 2014-10-03 13:06:13 -07:00
parent 5fc3c0812a
commit d7189dd6c7
2 changed files with 10 additions and 2 deletions

8
.gitignore vendored
View file

@ -26,9 +26,17 @@
*.cache *.cache
*.obj *.obj
*.tlog *.tlog
*.pid
/build-* /build-*
/ZeroTierOneInstaller-* /ZeroTierOneInstaller-*
.qmake.stash .qmake.stash
*.autosave *.autosave
/ZeroTier One.dmg /ZeroTier One.dmg
/root-topology/*.secret /root-topology/*.secret
/testnet/local-testnet/*/peers.persist
/testnet/local-testnet/*/authtoken.secret
/testnet/local-testnet/*/*.log
/testnet/local-testnet/*/*.old
/testnet/local-testnet/*/root-topology
/testnet/local-testnet/*/local.conf
/testnet/local-testnet/*/networks.d

View file

@ -32,7 +32,7 @@ for sn in $supernodes; do
node_port=2`echo $sn | cut -d n -f 2` node_port=2`echo $sn | cut -d n -f 2`
echo zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u $node_path echo zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u $node_path
../zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u $node_path ../zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u "$node_path" &
done done
echo echo
@ -46,7 +46,7 @@ while [ $node_num -lt $create_nodes ]; do
mkdir -p $node_path mkdir -p $node_path
echo zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u $node_path echo zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u $node_path
../zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u $node_path ../zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u "$node_path" &
node_num=`expr $node_num + 1` node_num=`expr $node_num + 1`
done done