summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.gitignore8
-rwxr-xr-xtestnet/run-local-testnet.sh4
2 files changed, 10 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 5bae233f..78a7ae78 100755
--- a/.gitignore
+++ b/.gitignore
@@ -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