Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include all possible DRM device paths
Currently, DRM_DEVICE_PATH=/sys/class/graphics/fb0/device/drm/card0 is hard-coded. However, on some systems, this specific path may not exist (for example, I have /sys/class/graphics/fb0/device/drm/card1 and /sys/class/graphics/fb1/device/drm/card0), causing the entire script to fail. To prevent this, replace the hard-coded “0”s by globs.
- Loading branch information