From 9389f45548344259461ed3cbff07b3994b460a77 Mon Sep 17 00:00:00 2001 From: Philipp Mundhenk Date: Sun, 25 Feb 2024 13:51:15 +0100 Subject: [PATCH] fixed typos --- files/runScanner.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/files/runScanner.sh b/files/runScanner.sh index 2dc4244..ab1b740 100755 --- a/files/runScanner.sh +++ b/files/runScanner.sh @@ -1,9 +1,9 @@ #!/bin/bash -$WEBSERVER_DEFAULT=true -$WEBSERVER_PING_DEFAULT=true -$WEBSERVER_PING_INTERVAL_DEFAULT=60 -$PORT_DEFAULT=80 +WEBSERVER_DEFAULT=true +WEBSERVER_PING_DEFAULT=true +WEBSERVER_PING_INTERVAL_DEFAULT=60 +PORT_DEFAULT=80 mandatory_vars=(NAME MODEL IPADDRESS) missing=0 @@ -85,6 +85,7 @@ echo "-----" echo "setting up webserver:" +#-------------------------------------------------------- #backwards compatibility WEBSERVER_ENABLE="$WEBSERVER" WEBSERVER_PORT="$PORT" @@ -104,6 +105,7 @@ fi if [ "${DISABLE_GUI_SCANTOOCR:-false}" ]; then WEBSERVER_LABEL_SCANTOOCR="" fi +#-------------------------------------------------------- if [ "${WEBSERVER_ENABLE:-$WEBSERVER_DEFAULT}" ]; then