bootable/newinstaller
Revision | d5b17be02de2c13113d75ee47cfdb70d8f46ec34 (tree) |
---|---|
Time | 2011-01-24 18:17:07 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
0-auto-detect: detect wmi drivers in /sys/devices/virtual/wmi
The patch also reverts previous commit. It changes the order
of modules loaded which causes more problems.
@@ -22,7 +22,8 @@ auto_detect() | ||
22 | 22 | sed -n 's/^alias *\([^ ]*\) *\(.*\)/\1)modprobe \2;;/p' >> $tmp |
23 | 23 | echo 'esac; done; }' >> $tmp |
24 | 24 | source $tmp |
25 | - find /sys -name modalias -exec cat {} \; | dev2mod | |
25 | + cat /sys/bus/*/devices/*/modalias | dev2mod | |
26 | + cat /sys/devices/virtual/wmi/*/modalias | dev2mod | |
26 | 27 | } |
27 | 28 | |
28 | 29 | load_uvesafb() |