diff options
-rwxr-xr-x | .gitignore | 8 | ||||
-rwxr-xr-x | testnet/run-local-testnet.sh | 4 |
2 files changed, 10 insertions, 2 deletions
@@ -26,9 +26,17 @@ *.cache *.obj *.tlog +*.pid /build-* /ZeroTierOneInstaller-* .qmake.stash *.autosave /ZeroTier One.dmg /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 diff --git a/testnet/run-local-testnet.sh b/testnet/run-local-testnet.sh index 91132c01..eb0a7053 100755 --- a/testnet/run-local-testnet.sh +++ b/testnet/run-local-testnet.sh @@ -32,7 +32,7 @@ for sn in $supernodes; do 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 - ../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 echo @@ -46,7 +46,7 @@ while [ $node_num -lt $create_nodes ]; do mkdir -p $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` done |