Use test in raspi-config for KMS rather than hard-coded version

This commit is contained in:
Simon Long 2022-03-01 11:39:01 +00:00
parent fe2e5cce4e
commit 3733fd4d98
1 changed files with 1 additions and 1 deletions

View File

@ -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