fix: Display fallback
This commit is contained in:
parent
7bf1c214ef
commit
675f19d231
1 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue