]> mj.ucw.cz Git - misc.git/blob - edid-drm
edid-drm: Bugfix
[misc.git] / edid-drm
1 #!/bin/sh
2 set -e
3 for a in /sys/class/drm/card*-* ; do
4         if [ -f $a/edid -a "$(cat 2>/dev/null $a/enabled)" = enabled ] ; then
5                 echo "### $(basename $a) ###"
6                 echo
7                 ./edid <$a/edid
8                 echo
9         fi
10 done