diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-04 16:20:59 +0200 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2011-06-07 20:38:43 +0200 |
commit | c6c455b941ce7fc12d099cb0ea79ec157ead38e0 (patch) | |
tree | 87f4ba07a80581271aa6de0e63327ba5d4e13d72 | |
parent | 7a165fb842eb1dcfdd9aa27b74354245d6980d19 (diff) | |
download | mkinitcpio-c6c455b941ce7fc12d099cb0ea79ec157ead38e0.tar.gz mkinitcpio-c6c455b941ce7fc12d099cb0ea79ec157ead38e0.tar.xz |
init: load all earlymodules at once
Signed-off-by: Dave Reisner <d@falconindy.com>
-rw-r--r-- | init | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |