From: Harald Hoyer Date: Mon, 9 Aug 2010 11:09:13 +0000 (+0200) Subject: plymouth: load dm_crypt module X-Git-Tag: 007~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2db6810027512f9b69fbb3be62c16f7cbb838ea;p=thirdparty%2Fdracut.git plymouth: load dm_crypt module --- diff --git a/modules.d/50plymouth/cryptroot-ask.sh b/modules.d/50plymouth/cryptroot-ask.sh index 0740cd6af..d1c4770f2 100755 --- a/modules.d/50plymouth/cryptroot-ask.sh +++ b/modules.d/50plymouth/cryptroot-ask.sh @@ -9,6 +9,9 @@ # we already asked for this device [ -f /tmp/cryptroot-asked-$2 ] && exit 0 +# load dm_crypt if it is not already loaded +[ -d /sys/module/dm_crypt ] || modprobe dm_crypt + . /lib/dracut-lib.sh # default luksname - luks-UUID