diff options
author | Matthias Hentges <oe@hentges.net> | 2006-04-12 14:35:29 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-04-12 14:35:29 +0000 |
commit | 163f7909087afc617a78349c446d8eed1a6ae39d (patch) | |
tree | b16f7db76e7ddfe8e272a0e1201594293c4ca1c7 /packages/altboot/files | |
parent | 6acda169c92c0c8b4c55ecd3742673c7cfd8edcb (diff) |
altboot: Do not echo the password when entering init=/bin/sh
Diffstat (limited to 'packages/altboot/files')
-rw-r--r-- | packages/altboot/files/altboot.func | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/altboot/files/altboot.func b/packages/altboot/files/altboot.func index f87cef48cd..31704e4029 100644 --- a/packages/altboot/files/altboot.func +++ b/packages/altboot/files/altboot.func @@ -372,14 +372,16 @@ verify_master_pw() { then auth_timeout="3" - echo "Please enter your altboot master password" + echo -e "\nPlease enter your altboot master password" cnt=0 while true do let cnt=$cnt+$auth_timeout echo -n "Password: " + stty -echo read junk < /dev/tty0 + stty echo if test "`echo "$junk" | md5sum | awk '{print $1}'`" = "$MASTER_PASSWORD" then @@ -396,6 +398,8 @@ verify_master_pw() { # fi fi done + + echo "" fi } |