mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 12:10:07 +09:00
Use test in raspi-config for KMS rather than hard-coded version
This commit is contained in:
parent
fe2e5cce4e
commit
3733fd4d98
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/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
|
if ps ax | grep -v grep | grep -q openbox ; then
|
||||||
exec xcompmgr -a
|
exec xcompmgr -a
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user