diff options
author | Harald Hoyer <harald@redhat.com> | 2010-08-09 13:24:08 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2010-08-09 13:24:08 +0200 |
commit | 9c7f67a94d7cb87d846391b5bec72213b77ddb3e (patch) | |
tree | 8bc13e58d456869360360e13398f9e707cb14ad8 | |
parent | 26df1299cb8814d0b732a7eadd01a5c32f48d0fc (diff) | |
download | dracut-9c7f67a94d7cb87d846391b5bec72213b77ddb3e.tar.gz dracut-9c7f67a94d7cb87d846391b5bec72213b77ddb3e.tar.bz2 dracut-9c7f67a94d7cb87d846391b5bec72213b77ddb3e.zip |
crypt: depend on dm
-rwxr-xr-x | modules.d/90crypt/check | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules.d/90crypt/check b/modules.d/90crypt/check index 852695b4..a34a05e1 100755 --- a/modules.d/90crypt/check +++ b/modules.d/90crypt/check @@ -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. |