Update x11vnc-setup.sh

unused vars
This commit is contained in:
Dom
2025-08-08 07:42:02 +02:00
committed by GitHub
parent 8a55aee999
commit 2e64af2a4f

View File

@@ -163,13 +163,11 @@ configure_bind_interface() {
read -r -p "Bind VNC server to [1/all] or [2/localhost]? (default: 1): " bind_choice read -r -p "Bind VNC server to [1/all] or [2/localhost]? (default: 1): " bind_choice
case "$bind_choice" in case "$bind_choice" in
"" | "1") "" | "1")
bind_address=""
BIND_TYPE="all" BIND_TYPE="all"
BIND_FLAG="" BIND_FLAG=""
break break
;; ;;
"2") "2")
bind_address="localhost"
BIND_TYPE="localhost" BIND_TYPE="localhost"
BIND_FLAG="-localhost" BIND_FLAG="-localhost"
break break