Merge pull request #7 from Gottox/master
Don't show plain password in Settings screen.
This commit is contained in:
commit
03a215e616
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user