bootable/newinstaller
Révision | c323c49f8bc154e085eb866255434b71d03a0499 (tree) |
---|---|
l'heure | 2011-01-20 12:15:38 |
Auteur | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
0-auto-detect: find all modalias files in /sys
This is a suggestion from Corentin Chary to fix
auto-detect issue of eeepc-wmi driver.
@@ -22,7 +22,7 @@ auto_detect() | ||
22 | 22 | sed -n 's/^alias *\([^ ]*\) *\(.*\)/\1)modprobe \2;;/p' >> $tmp |
23 | 23 | echo 'esac; done; }' >> $tmp |
24 | 24 | source $tmp |
25 | - cat /sys/bus/*/devices/*/modalias | dev2mod | |
25 | + find /sys -name modalias -exec cat {} \; | dev2mod | |
26 | 26 | } |
27 | 27 | |
28 | 28 | load_uvesafb() |