From 3733fd4d9814e209be3f950a757f4ddd8893ca9e Mon Sep 17 00:00:00 2001 From: Simon Long Date: Tue, 1 Mar 2022 11:39:01 +0000 Subject: [PATCH] Use test in raspi-config for KMS rather than hard-coded version --- usr/lib/raspi-config/cmstart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/raspi-config/cmstart.sh b/usr/lib/raspi-config/cmstart.sh index 90bd615..3ee1d34 100755 --- a/usr/lib/raspi-config/cmstart.sh +++ b/usr/lib/raspi-config/cmstart.sh @@ -1,5 +1,5 @@ #!/bin/sh -if grep -q okay /proc/device-tree/soc/v3d@7ec00000/status 2> /dev/null || grep -q okay /proc/device-tree/v3dbus/v3d@7ec04000/status 2> /dev/null || grep -q okay /proc/device-tree/soc/firmwarekms@7e600000/status 2> /dev/null ; then +if raspi-config nonint is_kms ; then if ps ax | grep -v grep | grep -q openbox ; then exec xcompmgr -a fi