Update x11vnc-setup.sh
unused vars
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user