summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-06-17 16:26:55 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-06-17 16:26:55 -0700
commit02334d1cf220aaca11f734a3646d2f099ad016ca (patch)
tree65ea34dca0e044c77d7ec453beaba736cd92a7e4
parentede9d523d71569c1b5491811367b513400d62ce5 (diff)
downloadvyatta-cfg-system-02334d1cf220aaca11f734a3646d2f099ad016ca.tar.gz
vyatta-cfg-system-02334d1cf220aaca11f734a3646d2f099ad016ca.zip
Use tr command rather than awk
For consistency, use tr for all case conversion in get_response
-rwxr-xr-xscripts/install-system2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system
index 2d97d90f..3df0e0ca 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -102,7 +102,7 @@ get_response () {
# get the response from the user
read myresponse
- myresponse=$(echo "$myresponse" | awk '{ printf (tolower($0)) }')
+ myresponse=$(echo "$myresponse" | tr [:upper:] [:lower:])
# Check to see if the user accepts the default
if [ -z "$myresponse" ]; then