From: Matthias Hentges Date: Wed, 12 Apr 2006 14:35:29 +0000 (+0000) Subject: altboot: Do not echo the password when entering init=/bin/sh X-Git-Tag: Release-2010-05/1~9453^2~2059^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=163f7909087afc617a78349c446d8eed1a6ae39d;p=openembedded.git altboot: Do not echo the password when entering init=/bin/sh --- 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 }