diff options
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/filesystems | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hooks/filesystems b/hooks/filesystems index 416ad9f..77ebde3 100644 --- a/hooks/filesystems +++ b/hooks/filesystems @@ -13,6 +13,7 @@ run_hook () /bin/sleep "${rootdelay}" msg "done." export rootdelay=0 + kinit_params="${kinit_params} rootdelay=0" fi eval $( /bin/parseblock "${root}") @@ -36,6 +37,7 @@ run_hook () if [ "${FSTYPE}" = "unknown" ]; then echo "ERROR: root fs cannot be detected. Try using the rootfstype= kernel parameter." else + kinit_params="${kinit_params} rootfstype=${FSTYPE}" /bin/modprobe -q "${FSTYPE}" >/dev/null 2>&1 fi } |