Skip to content

Commit

Permalink
Merge pull request #4 from Socob/fix-device-path
Browse files Browse the repository at this point in the history
Include all possible DRM device paths
  • Loading branch information
dwagelaar authored Aug 15, 2021
2 parents 2dc267e + 0f467c1 commit 2b6920f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enforce-dpms.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -ueo pipefail

DRM_DEVICE_PATH=/sys/class/graphics/fb0/device/drm/card0
DRM_DEVICE_PATH=/sys/class/graphics/fb*/device/drm/card*
ALL_DRM_PORTS=$(find ${DRM_DEVICE_PATH} | grep '/dpms$')
DEBUG=0

Expand Down

0 comments on commit 2b6920f

Please sign in to comment.