[debian-edu-commits] r81149 - branches/wheezy/debian-edu-config/sbin
pere at alioth.debian.org
pere at alioth.debian.org
Mon Jun 24 20:31:44 UTC 2013
Author: pere
Date: 2013-06-24 20:31:44 +0000 (Mon, 24 Jun 2013)
New Revision: 81149
Modified:
branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup
Log:
Fix logic/typo.
Modified: branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup
===================================================================
--- branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup 2013-06-24 17:44:03 UTC (rev 81148)
+++ branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup 2013-06-24 20:31:44 UTC (rev 81149)
@@ -40,13 +40,14 @@
}
info "looking for PCI device specific overrides"
-for modalias in /sys/bus/pci/devices/*/modalias; do
+for modaliasfile in /sys/bus/pci/devices/*/modalias; do
+ modalias="$(cat $modaliasfile)"
case "$modalias" in
- # Workaround for BTS report #710938 (Packard Bell EasyNote LV)
- # See http://www.linlap.com/packard_bell_easynote_lv
+ # Workaround for BTS report #710938 (Packard Bell EasyNote LV)
+ # See http://www.linlap.com/packard_bell_easynote_lv
pci:v00008086d00000156sv00001025sd00000688bc*)
- append_if_missing /etc/modprobe.d/i915.conf \
- "options i915 invert_brightness=1"
+ append_if_missing /etc/modprobe.d/i915.conf \
+ "options i915 invert_brightness=1"
update-initramfs -u -k all
;;
esac
More information about the debian-edu-commits
mailing list