Browse Source

Have cryptroot-ask load dm_crypt if needed.

master
Victor Lowther 15 years ago committed by Harald Hoyer
parent
commit
2974f382f8
  1. 3
      modules.d/90crypt/cryptroot-ask.sh

3
modules.d/90crypt/cryptroot-ask.sh

@ -9,6 +9,9 @@ @@ -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

Loading…
Cancel
Save