OSDN Git Service
(root)
/
android-x86
/
bootable-newinstaller.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece128e
)
add AUTO option, set it to 1 to force auto-detect
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 23 Jul 2009 05:11:09 +0000
(13:11 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 23 Jul 2009 05:11:09 +0000
(13:11 +0800)
initrd/scripts/0-auto-detect
patch
|
blob
|
history
diff --git
a/initrd/scripts/0-auto-detect
b/initrd/scripts/0-auto-detect
index
b17c23a
..
f64cc64
100644
(file)
--- a/
initrd/scripts/0-auto-detect
+++ b/
initrd/scripts/0-auto-detect
@@
-106,7
+106,7
@@
detect_hardware()
load_modules()
{
- detect_hardware
+
[ -z "$AUTO" ] &&
detect_hardware
if [ $? -eq 0 ]; then
for m in $PREDEV; do
modprobe $m