qemu-arm/src/display.sh
2023-11-20 12:45:37 +01:00

15 lines
257 B
Bash

#!/usr/bin/env bash
set -Eeuo pipefail
# Docker environment variables
: ${DISPLAY:='none'} # Display type
case "${DISPLAY,,}" in
vnc)
DISPLAY_OPTS="-nographic -vga std -vnc :0"
;;
*)
DISPLAY_OPTS="-nographic -display none"
;;
esac