Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 2565d442133d17866d7a0458852920c6 > files > 81

dracut-005-5.fc13.src.rpm

From 35e91992f18e867aa45b87c31d7841b76525f153 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Fri, 9 Jul 2010 11:19:32 +0200
Subject: [PATCH 081/133] plymouth: depend on crypt, if cryptsetup exists

---
 modules.d/50plymouth/check |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules.d/50plymouth/check b/modules.d/50plymouth/check
index 838e7e2..ceb26a7 100755
--- a/modules.d/50plymouth/check
+++ b/modules.d/50plymouth/check
@@ -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 ]]
-- 
1.7.3