summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-03-12 06:15:39 +0100
committerAaron Griffin <aaron@archlinux.org>2007-03-12 06:15:39 +0100
commit43eddc864b3d258496235f1d5d1165be4c20a292 (patch)
treef8fd40d3877719e3992f05a3dfa274d4fe87634f
parent33ecfe0ebbe719cd8dd2268b37dbb34f1ec8a237 (diff)
downloadmkinitcpio-43eddc864b3d258496235f1d5d1165be4c20a292.tar.gz
mkinitcpio-43eddc864b3d258496235f1d5d1165be4c20a292.tar.xz
* Jan Peter den Heijer <jpdenheijer@gmail.com>
This one exports $rootdelay to $kinit_params to avoid having to wait for $rootdelay 2 times when one specifies rootdelay=x on the kernel cmdline (one in init, one for kinit)... git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@201 880c04e9-e011-0410-abf7-b926e227c9cd
-rw-r--r--init1
1 files changed, 1 insertions, 0 deletions
diff --git a/init b/init
index b06a5d2..3f594c1 100644
--- a/init
+++ b/init
@@ -90,6 +90,7 @@ if [ "${rootdelay}" != "0" ]; then
msg -n "Waiting for devices to settle..."
/bin/sleep "${rootdelay}"
export rootdelay=0
+ export kinit_params="$kinit_params rootdelay=0"
msg "done."
fi