summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-06-04 16:20:59 +0200
committerDave Reisner <d@falconindy.com>2011-06-07 20:38:43 +0200
commitc6c455b941ce7fc12d099cb0ea79ec157ead38e0 (patch)
tree87f4ba07a80581271aa6de0e63327ba5d4e13d72 /init
parent7a165fb842eb1dcfdd9aa27b74354245d6980d19 (diff)
downloadmkinitcpio-c6c455b941ce7fc12d099cb0ea79ec157ead38e0.tar.gz
mkinitcpio-c6c455b941ce7fc12d099cb0ea79ec157ead38e0.tar.xz
init: load all earlymodules at once
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'init')
-rw-r--r--init4
1 files changed, 1 insertions, 3 deletions
diff --git a/init b/init
index f63cbaf..1f6bc4e 100644
--- a/init
+++ b/init
@@ -46,9 +46,7 @@ if [ -n "${disablehooks}" ]; then
fi
if [ -n "${earlymodules}" ]; then
- for m in $(echo "${earlymodules}" | sed 's|,| |g'); do
- /sbin/modprobe -q ${m} > /dev/null 2>&1
- done
+ /sbin/modprobe -qab ${earlymodules//,/ }
fi
. /config