summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-03-05 17:36:30 +0100
committerDaniil Baturin <daniil@baturin.org>2014-03-05 17:36:30 +0100
commitef36557508fa1eeacfdb0ae7103895c17435c4a2 (patch)
treeb72b550d01a927d94e4522c5bda3fc40e87042af
parentfea96ae9cbbdb34c90bf9c77867615c056434f5a (diff)
downloadvyatta-op-ef36557508fa1eeacfdb0ae7103895c17435c4a2.tar.gz
vyatta-op-ef36557508fa1eeacfdb0ae7103895c17435c4a2.zip
Bug #157: Replace 'Intel 32/64bit' with 'x86 32/64-bit' in 'show version'.
-rwxr-xr-xscripts/vyatta-show-version5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/vyatta-show-version b/scripts/vyatta-show-version
index 94ab424..485e90e 100755
--- a/scripts/vyatta-show-version
+++ b/scripts/vyatta-show-version
@@ -66,10 +66,11 @@ sub get_image_type {
return;
}
+ # XXX: Maybe just check 'uname -m' ?
if ($1 eq '586') {
- $version = "Intel 32bit";
+ $version = "x86 32-bit";
} elsif ($1 eq "amd64") {
- $version = "Intel 64bit";
+ $version = "x86 64-bit";
} else {
$version = $1;
}