summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init4
1 files changed, 4 insertions, 0 deletions
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