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:
9342b19
)
0-auto-detect: disable modules auto loading
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Sun, 14 Aug 2016 05:00:46 +0000
(13:00 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Sun, 14 Aug 2016 05:00:46 +0000
(13:00 +0800)
Now we use ueventd to load modules. It more cleaner and reliable.
If you'd like to keep using the original modules auto loading,
add AUTO_LOAD=old to the kernel cmdline.
initrd/scripts/0-auto-detect
patch
|
blob
|
history
diff --git
a/initrd/scripts/0-auto-detect
b/initrd/scripts/0-auto-detect
index
0caa34a
..
0b6296a
100644
(file)
--- a/
initrd/scripts/0-auto-detect
+++ b/
initrd/scripts/0-auto-detect
@@
-1,6
+1,6
@@
#
# By Chih-Wei Huang <cwhuang@linux.org.tw>
-# Last updated 2016/0
7/21
+# Last updated 2016/0
8/14
#
# License: GNU Public License
# We explicitely grant the right to use the scripts
@@
-23,7
+23,7
@@
auto_detect()
load_modules()
{
- if [
-z "$FOUND
" ]; then
+ if [
"$AUTO_LOAD" = "old
" ]; then
auto_detect
fi