summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2023-09-04 17:06:06 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-16 08:45:18 +0000
commit74aee92d34c5570ca8aff1efd69dba23e7d0bfbc (patch)
tree035d35a845d50e7eb4fb6fe0ecac5032151566d6 /op-mode-definitions
parentb2fbff135fe4b83093b36927a8dcaa43ba4ecb9a (diff)
downloadvyos-1x-74aee92d34c5570ca8aff1efd69dba23e7d0bfbc.tar.gz
vyos-1x-74aee92d34c5570ca8aff1efd69dba23e7d0bfbc.zip
T671: call dmidecode directly in "show hardware dmi"
The old script isn't doing much, in fact, it's much less informative than actual dmidecode (cherry picked from commit 7f0a363c9034a3b1600efab7c30bf7ab06381816)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-hardware.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/show-hardware.xml.in b/op-mode-definitions/show-hardware.xml.in
index ebd806ba5..21079765a 100644
--- a/op-mode-definitions/show-hardware.xml.in
+++ b/op-mode-definitions/show-hardware.xml.in
@@ -31,7 +31,7 @@
<properties>
<help>Show system DMI details</help>
</properties>
- <command>${vyatta_bindir}/vyatta-show-dmi</command>
+ <command>sudo dmidecode</command>
</node>
<node name="mem">
<properties>