diff options
-rw-r--r-- | src/mesh/gnunet-mesh-profiler.c | 2 | ||||
-rw-r--r-- | src/mesh/profiler.conf (renamed from src/mesh/.profiler.template) | 0 | ||||
-rwxr-xr-x | src/mesh/run_profiler.sh | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/gnunet-mesh-profiler.c b/src/mesh/gnunet-mesh-profiler.c index 17557b3fb..049e32bcb 100644 --- a/src/mesh/gnunet-mesh-profiler.c +++ b/src/mesh/gnunet-mesh-profiler.c | |||
@@ -946,7 +946,7 @@ main (int argc, char *argv[]) | |||
946 | static uint32_t ports[2]; | 946 | static uint32_t ports[2]; |
947 | const char *config_file; | 947 | const char *config_file; |
948 | 948 | ||
949 | config_file = "profiler.conf"; | 949 | config_file = ".profiler.conf"; |
950 | 950 | ||
951 | if (2 > argc) | 951 | if (2 > argc) |
952 | { | 952 | { |
diff --git a/src/mesh/.profiler.template b/src/mesh/profiler.conf index 4dec92431..4dec92431 100644 --- a/src/mesh/.profiler.template +++ b/src/mesh/profiler.conf | |||
diff --git a/src/mesh/run_profiler.sh b/src/mesh/run_profiler.sh index ed837204e..5a8edaebe 100755 --- a/src/mesh/run_profiler.sh +++ b/src/mesh/run_profiler.sh | |||
@@ -16,6 +16,6 @@ LINKS=`echo "l($PEERS) * $PEERS" | bc -l` | |||
16 | LINKS=`printf "%.0f" $LINKS` | 16 | LINKS=`printf "%.0f" $LINKS` |
17 | echo "using $PEERS peers, $LINKS links"; | 17 | echo "using $PEERS peers, $LINKS links"; |
18 | 18 | ||
19 | sed -e "s/%LINKS%/$LINKS/g" .profiler.template > profiler.conf | 19 | sed -e "s/%LINKS%/$LINKS/g" profiler.conf > .profiler.conf |
20 | 20 | ||
21 | ./gnunet-mesh-profiler $PEERS | 21 | ./gnunet-mesh-profiler $PEERS |