summaryrefslogtreecommitdiffhomepage
path: root/tools/config/root-server-docker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/config/root-server-docker.sh')
-rwxr-xr-xtools/config/root-server-docker.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/config/root-server-docker.sh b/tools/config/root-server-docker.sh
index f2af3d7d..fe8fe31c 100755
--- a/tools/config/root-server-docker.sh
+++ b/tools/config/root-server-docker.sh
@@ -24,11 +24,13 @@ delete_bridge() {
fi
}
-while getopts c: OPT
+while getopts c:n: OPT
do
case $OPT in
c) CONFIG_DIR="$OPTARG"
;;
+ n) NR_PEERS="$OPTARG"
+ ;;
*) echo "Unknown option"
exit 1
;;