# HG changeset patch # User Pascal Bellard # Date 1330881372 -3600 # Node ID 11fa97b09b7d2ebef5ffac21b253200f57061882 # Parent 8eb0c310c78cabc9bd0c9b1441bc28dfff0556bc hardware.cgi: display the name of the video device diff -r 8eb0c310c78c -r 11fa97b09b7d hardware.cgi --- a/hardware.cgi Sun Mar 04 18:02:22 2012 +0100 +++ b/hardware.cgi Sun Mar 04 18:16:12 2012 +0100 @@ -168,7 +168,9 @@ name=$(echo $dev | sed 's|.*/backlight/\([^/]*\).*|\1|') cat < -$(gettext "Brightness") ${name#acpi_}: EOT max=$(cat /sys/devices/virtual/backlight/$name/max_brightness) for i in $(seq 0 $max); do