mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-10-15 04:38:41 +09:00
Use wildcards in KMS test
This commit is contained in:
@@ -74,9 +74,9 @@ is_ssh() {
|
||||
}
|
||||
|
||||
is_kms() {
|
||||
if grep -s -q okay /proc/device-tree/soc/v3d@7ec00000/status \
|
||||
/proc/device-tree/soc/firmwarekms@7e600000/status \
|
||||
/proc/device-tree/v3dbus/v3d@7ec04000/status; then
|
||||
if grep -s -q okay /proc/device-tree/soc/v3d@*/status \
|
||||
/proc/device-tree/soc/firmwarekms@*/status \
|
||||
/proc/device-tree/v3dbus/v3d@*/status; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
|
Reference in New Issue
Block a user