Adam Ierymenko 11 년 전
부모
커밋
d7189dd6c7
2개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. 8 0
      .gitignore
  2. 2 2
      testnet/run-local-testnet.sh

+ 8 - 0
.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

+ 2 - 2
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