From 2e13ef675a218dff9e50a1ebe7f26f11fd2eea3d Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Tue, 16 Oct 2018 19:09:58 +0800 Subject: [PATCH] init.sh: use video option if UVESA_MODE is not set With this patch, it's also possible to set the resolution of uvesafb via the standard video=x kernel cmdline. --- init.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.sh b/init.sh index f617ade..7b205f9 100644 --- a/init.sh +++ b/init.sh @@ -128,6 +128,8 @@ function set_drm_mode() function init_uvesafb() { + UVESA_MODE=${UVESA_MODE:-${video%@*}} + case "$PRODUCT" in ET2002*) UVESA_MODE=${UVESA_MODE:-1600x900} -- 2.11.0