summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-07 17:35:01 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-07 17:35:01 -0800
commit239545a6e81884091610c59e548448a15cadafbf (patch)
tree7ff3c04378ba7d2f2e8910e82ebc5936cca8dd6f /scripts
parent21b96894a7ad4e44838312668429cc5c670ee55b (diff)
downloadvyatta-cfg-quagga-239545a6e81884091610c59e548448a15cadafbf.tar.gz
vyatta-cfg-quagga-239545a6e81884091610c59e548448a15cadafbf.zip
Handle older format config files in password reset
Bugfix 3665 Some config files have colon after tag, others do not. install-system password setting should handle both formats.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-system2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system
index e4464ede..ee0ebb5f 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() {