From 6a4c36b14aa896147b548eab950a91d7f2774014 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 5 Mar 2007 20:30:45 +0000 Subject: Root delay *MUST* be passed on the command line if not using the filesystem hook git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@198 880c04e9-e011-0410-abf7-b926e227c9cd --- init | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'init') diff --git a/init b/init index b000770..3896e68 100644 --- a/init +++ b/init @@ -104,5 +104,9 @@ if [ -f "/message" ]; then msg "$(cat /message)" fi +if [ "$rootdelay" != "0" ]; then + kinit_params="${kinit_params} rootdelay=${rootdelay}" +fi + echo "/sbin/modprobe" > /proc/sys/kernel/modprobe exec /bin/kinit -- "root=${root}" ${kinit_params} "${runlevel}" > /dev/null 2>&1 -- cgit v1.2.3-24-g4f1b