aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesh/gnunet-mesh-profiler.c2
-rw-r--r--src/mesh/profiler.conf (renamed from src/mesh/.profiler.template)0
-rwxr-xr-xsrc/mesh/run_profiler.sh2
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`
16LINKS=`printf "%.0f" $LINKS` 16LINKS=`printf "%.0f" $LINKS`
17echo "using $PEERS peers, $LINKS links"; 17echo "using $PEERS peers, $LINKS links";
18 18
19sed -e "s/%LINKS%/$LINKS/g" .profiler.template > profiler.conf 19sed -e "s/%LINKS%/$LINKS/g" profiler.conf > .profiler.conf
20 20
21./gnunet-mesh-profiler $PEERS 21./gnunet-mesh-profiler $PEERS