plymouth/cryptroot-ask.sh: beautify password prompt
authorHarald Hoyer <harald@redhat.com>
Wed, 9 Jun 2010 09:56:06 +0000 (11:56 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 9 Jun 2010 09:56:06 +0000 (11:56 +0200)
modules.d/50plymouth/cryptroot-ask.sh

index 7dee9a1..3897b33 100755 (executable)
@@ -68,13 +68,13 @@ unset LUKS luks luuid
 if [ $ask -gt 0 ]; then
     info "luksOpen $device $luksname"
     if [ $num -eq 1 ]; then
-         prompt="Password:"
+         prompt="Password for filesystem"
     else
          prompt="Password [$device ($luksname)]:" 
          if [ ${#luksname} -gt 8 ]; then
             sluksname=${sluksname##luks-}
              sluksname=${luksname%%${luksname##????????}}
-             prompt="Password [$device ($sluksname...)]:"
+             prompt="Password for $device ($sluksname...)"
          fi
     fi
     # flock against other interactive activities