github.com/annchain/OG@v0.0.9/scripts/p2p_sim/sh_run.sh (about) 1 #!/bin/bash 2 3 for ((i=0; i<40; i++)) 4 do 5 if [ $i -lt 10 ] ; then 6 echo node ${i} 7 nohup ./og -c configs/config_0${i}.toml -d data/d_0${i} -l data/datadir_0${i} -n run 2>&1 </dev/null & 8 else 9 echo node ${i} 10 nohup ./og -c configs/config_${i}.toml -d data/d_${i} -l data/datadir_${i} -n run 2>&1 </dev/null & 11 fi 12 13 done 14