bootable/newinstaller
Revisão | ab5f303e9ab2d7ea1fb26ad3d5033c35a2266ac9 (tree) |
---|---|
Hora | 2009-07-23 14:11:09 |
Autor | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
add AUTO option, set it to 1 to force auto-detect
@@ -106,7 +106,7 @@ detect_hardware() | ||
106 | 106 | |
107 | 107 | load_modules() |
108 | 108 | { |
109 | - detect_hardware | |
109 | + [ -z "$AUTO" ] && detect_hardware | |
110 | 110 | if [ $? -eq 0 ]; then |
111 | 111 | for m in $PREDEV; do |
112 | 112 | modprobe $m |