From 675f19d2318d5448a4977025a1eb4398f6262da1 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 18 Dec 2024 17:36:42 +0100 Subject: [PATCH] fix: Display fallback --- src/display.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/display.sh b/src/display.sh index 0547776..2f42c40 100644 --- a/src/display.sh +++ b/src/display.sh @@ -7,19 +7,19 @@ set -Eeuo pipefail : "${DISPLAY:="web"}" # Display type case "${DISPLAY,,}" in - vnc) + "vnc" ) DISPLAY_OPTS="-display vnc=:0 -device $VGA" ;; - web) + "web" | ":0" ) DISPLAY_OPTS="-display vnc=:0,websocket=5700 -device $VGA" ;; - ramfb) + "ramfb" ) DISPLAY_OPTS="-display vnc=:0,websocket=5700 -device ramfb" ;; - disabled) + "disabled" ) DISPLAY_OPTS="-display none -device $VGA" ;; - none) + "none" ) DISPLAY_OPTS="-display none" ;; *)