diff options
Diffstat (limited to 'src/mesh/run_profiler.sh')
-rwxr-xr-x | src/mesh/run_profiler.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesh/run_profiler.sh b/src/mesh/run_profiler.sh index ba0a946b9..a202567f0 100755 --- a/src/mesh/run_profiler.sh +++ b/src/mesh/run_profiler.sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | if [ "$#" -lt "1" ]; then | 3 | if [ "$#" -lt "2" ]; then |
4 | echo "usage: $0 PEERS"; | 4 | echo "usage: $0 PEERS PINGING_PEERS"; |
5 | exit 1; | 5 | exit 1; |
6 | fi | 6 | fi |
7 | 7 | ||
@@ -18,4 +18,4 @@ echo "using $PEERS peers, $LINKS links"; | |||
18 | 18 | ||
19 | sed -e "s/%LINKS%/$LINKS/g" profiler.conf > .profiler.conf | 19 | sed -e "s/%LINKS%/$LINKS/g" profiler.conf > .profiler.conf |
20 | 20 | ||
21 | ./gnunet-mesh-profiler $PEERS |& tee log | 21 | ./gnunet-mesh-profiler $PEERS $2 |& tee log |