]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
plymouth: depend on crypt, if cryptsetup exists
authorHarald Hoyer <harald@redhat.com>
Fri, 9 Jul 2010 09:19:32 +0000 (11:19 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 9 Jul 2010 09:19:32 +0000 (11:19 +0200)
modules.d/50plymouth/check

index 838e7e28342d3f109ea6c221f138ac7fe93cadcb..ceb26a7ab74f1b62416f17102332e7c918603638 100755 (executable)
@@ -1,3 +1,3 @@
 #!/bin/bash
-[[ $1 = -d ]] && echo crypt
+[[ $1 = -d ]] && which cryptsetup &>/dev/null && echo crypt
 [[ -x /sbin/plymouthd && -x /bin/plymouth && -x /usr/sbin/plymouth-set-default-theme ]]