about summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-05-16 10:42:08 +0200
committerJuan RP <xtraeme@gmail.com>2014-05-16 10:42:08 +0200
commit03a215e61617fde4daa2a58518c860bb6499af89 (patch)
tree6a45e267feddc5f51192a60bb4d6be564858ab88 /installer.sh.in
parentba9801c183c7d9a5fe80ec3a0bee2f62ddbae8dc (diff)
parent92be3725d81801bbfd144c11ead83c3ad0838622 (diff)
downloadhrmpf-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.in5
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