Use plymouth when asking for password to unlock encrypted persistent /home

This commit is contained in:
Jeremy Katz 2008-08-11 10:51:55 -04:00
parent 6984b85099
commit 50929c433e

View File

@ -138,7 +138,7 @@ mountPersistentHome() {
if [ "\$(/lib/udev/vol_id -t \$homedev)" = "crypto_LUKS" ]; then if [ "\$(/lib/udev/vol_id -t \$homedev)" = "crypto_LUKS" ]; then
echo echo
echo "Setting up encrypted /home device" echo "Setting up encrypted /home device"
cryptsetup luksOpen \$homedev EncHome <&1 plymouth ask-for-password --command="cryptsetup luksOpen \$homedev EncHome"
homedev=/dev/mapper/EncHome homedev=/dev/mapper/EncHome
fi fi