Merge pull request #7 from Gottox/master

Don't show plain password in Settings screen.
This commit is contained in:
Juan RP 2014-05-16 10:42:08 +02:00
commit 03a215e616

View File

@ -923,7 +923,10 @@ menu() {
if [ $? -eq 3 ]; then
# Show settings
DIALOG --title "Saved settings for installation" --textbox $CONF_FILE 14 60
cp $CONF_FILE /tmp/conf_hidden.$$;
sed -i "s/^ROOTPASSWORD.*/ROOTPASSWORD <-hidden->/" /tmp/conf_hidden.$$
DIALOG --title "Saved settings for installation" --textbox /tmp/conf_hidden.$$ 14 60
rm /tmp/conf_hidden.$$
return
fi