]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
crypt: depend on dm
authorHarald Hoyer <harald@redhat.com>
Mon, 9 Aug 2010 11:24:08 +0000 (13:24 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 9 Aug 2010 11:24:08 +0000 (13:24 +0200)
modules.d/90crypt/check

index 852695b4ad3498555fe842e30ad95301fca97a6e..a34a05e1b791d3ff48dec637a37918b957cfc878 100755 (executable)
@@ -3,6 +3,8 @@
 # if cryptsetup is not installed, then we cannot support encrypted devices.
 which cryptsetup >/dev/null 2>&1 || exit 1
 
+[ "$1" = "-d" ] && echo dm
+
 # hostonly checking should only return true if root is on a LUKS device
 # in some way, but I am too lazy to figure out how to do that.
 # Instead, fail if we do not have a LUKS device in use somewhere.