diff options
author | Juan RP <xtraeme@gmail.com> | 2014-05-16 10:42:08 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-05-16 10:42:08 +0200 |
commit | 03a215e61617fde4daa2a58518c860bb6499af89 (patch) | |
tree | 6a45e267feddc5f51192a60bb4d6be564858ab88 /installer.sh.in | |
parent | ba9801c183c7d9a5fe80ec3a0bee2f62ddbae8dc (diff) | |
parent | 92be3725d81801bbfd144c11ead83c3ad0838622 (diff) | |
download | hrmpf-03a215e61617fde4daa2a58518c860bb6499af89.tar.gz hrmpf-03a215e61617fde4daa2a58518c860bb6499af89.tar.xz hrmpf-03a215e61617fde4daa2a58518c860bb6499af89.zip |
Merge pull request #7 from Gottox/master
Don't show plain password in Settings screen.
Diffstat (limited to 'installer.sh.in')
-rw-r--r-- | installer.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/installer.sh.in b/installer.sh.in index 7a4a0c4..3be001e 100644 --- a/installer.sh.in +++ b/installer.sh.in @@ -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 |