Use plymouth when asking for password to unlock encrypted persistent /home
This commit is contained in:
parent
6984b85099
commit
50929c433e
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user