diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-03-05 21:30:45 +0100 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-03-05 21:30:45 +0100 |
commit | 6a4c36b14aa896147b548eab950a91d7f2774014 (patch) | |
tree | 5f1b77667ee7f41cf221d3ecd7ad8fc25ea03b07 /init | |
parent | 4fac6c16e0f60c13480eaa249c0a7a32cb211a8e (diff) | |
download | mkinitcpio-6a4c36b14aa896147b548eab950a91d7f2774014.tar.gz mkinitcpio-6a4c36b14aa896147b548eab950a91d7f2774014.tar.xz |
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
Diffstat (limited to 'init')
-rw-r--r-- | init | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |