projects
/
platform
/
core
/
system
/
initrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0632ffb
)
initrd: load kernel module #3
55/260555/1
accepted/tizen/unified/20210630.144038
submit/tizen/20210629.050716
submit/tizen/20210629.115102
submit/tizen/20210630.013220
author
INSUN PYO
<insun.pyo@samsung.com>
Tue, 29 Jun 2021 03:27:29 +0000
(12:27 +0900)
committer
INSUN PYO
<insun.pyo@samsung.com>
Tue, 29 Jun 2021 03:27:33 +0000
(12:27 +0900)
Modify to load kernel module in parallel.
Change-Id: I865ed1747186c738ac050e587c631262cbd6d6a7
scripts/init.sh
patch
|
blob
|
history
diff --git
a/scripts/init.sh
b/scripts/init.sh
index c230e85a0dacd41d76736539c5d7abcbc188732c..cb63e4e2e0bd6765a8d593843439b50294e6f469 100755
(executable)
--- a/
scripts/init.sh
+++ b/
scripts/init.sh
@@
-272,9
+272,11
@@
function load_kernel_modules
if [ "${module:0:1}" = "#" ]; then continue; fi # skip # commented line
echo "Loading module: $module"
- /sbin/modprobe --dirname=$ROOTFS_MNT $module
+ /sbin/modprobe --dirname=$ROOTFS_MNT $module
&
done < $conf
done
+
+ wait # wait all background jobs
}