SVN: geninitrd/trunk/mod-luks.sh

glen glen at pld-linux.org
Wed Mar 18 23:10:07 CET 2009


Author: glen
Date: Wed Mar 18 23:10:06 2009
New Revision: 10217

Modified:
   geninitrd/trunk/mod-luks.sh
Log:
- fixed path (be consistent)

Modified: geninitrd/trunk/mod-luks.sh
==============================================================================
--- geninitrd/trunk/mod-luks.sh	(original)
+++ geninitrd/trunk/mod-luks.sh	Wed Mar 18 23:10:06 2009
@@ -37,7 +37,7 @@
 		return 1
 	fi
 
-	dev=$(cryptsetup status $dm_name 2>/dev/null | awk '/device:/{print $2}')
+	dev=$(/sbin/cryptsetup status $dm_name 2>/dev/null | awk '/device:/{print $2}')
 	/sbin/cryptsetup isLuks $dev
 	rc=$?
 


More information about the pld-cvs-commit mailing list