summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-03 13:06:13 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-03 13:06:13 -0700
commitd7189dd6c7cea9cac3f087bd2e2c8f0b12924a0e (patch)
tree78ea3790a56e34df7b40bb6baabfa495c27c5684
parent5fc3c0812a5b2e4c97c196929a5142e471c86258 (diff)
downloadinfinitytier-d7189dd6c7cea9cac3f087bd2e2c8f0b12924a0e.tar.gz
infinitytier-d7189dd6c7cea9cac3f087bd2e2c8f0b12924a0e.zip
.
-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