From 4b1ed160ed49e8ba7959a4e699fdb16dcb0accc0 Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Sat, 8 Sep 2007 21:49:42 +0200 Subject: hook-functions: reorder dep_add_modules() do fstype stuff on top. --- hook-functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hook-functions') diff --git a/hook-functions b/hook-functions index cb2c75d..07e5cda 100644 --- a/hook-functions +++ b/hook-functions @@ -221,6 +221,9 @@ dep_add_modules() exit 1 fi + # Add rootfs + force_load "${FSTYPE}" + # lvm luks root if [ "${root#/dev/mapper/}" != "${root}" ]; then minor=$((0x$(stat --format "%T" ${root}) % 256)) @@ -248,9 +251,6 @@ dep_add_modules() exit 1 fi - # Add rootfs - force_load "${FSTYPE}" - root_dev_path=$(readlink -f /sys/block/${block}/device) sys_walk_mod_add ${root_dev_path} -- cgit v1.2.3