From 693966a037f0ad636b3a0a19be2bf669b30e4dc4 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 11 Mar 2024 11:28:31 +0100 Subject: [PATCH] feat: Add option to disable VNC --- src/display.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/display.sh b/src/display.sh index 14b6417..a2af247 100644 --- a/src/display.sh +++ b/src/display.sh @@ -22,6 +22,9 @@ case "${DISPLAY,,}" in ramfb) DISPLAY_OPTS="-display vnc=:0,websocket=5700 -device ramfb" ;; + disabled) + DISPLAY_OPTS="-display none -device $VGA" + ;; none) DISPLAY_OPTS="-display none" ;;