summaryrefslogtreecommitdiff
path: root/scripts/install-system
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-28 16:23:01 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-28 16:23:01 -0700
commit21b96894a7ad4e44838312668429cc5c670ee55b (patch)
tree256a3dc6f0246a9980511cb5cb6ec6c1cb132017 /scripts/install-system
parentbd5e025253397e80787f2c21ebb95c67fa4e140d (diff)
downloadvyatta-cfg-quagga-21b96894a7ad4e44838312668429cc5c670ee55b.tar.gz
vyatta-cfg-quagga-21b96894a7ad4e44838312668429cc5c670ee55b.zip
Fix standalone password reset
Handle case of running in standalone where there is no /dev/tty. Handle both formats in configuration file Bugfix 3844
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-xscripts/install-system2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system
index d755339d..e4464ede 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -856,7 +856,7 @@ copy_config () {
set_encrypted_password() {
sed -i \
- -e "/ user $1 {/,/}/s/encrypted-password .*\$/encrypted-password: \"$2\"/" $3
+ -e "/ user $1 {/,/}/s/encrypted-password .*\$/encrypted-password \"$2\"/" $3
}
change_password() {