summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-28 12:09:43 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-28 12:09:43 -0800
commitfb828c7cf89d964482f1812eec0acd33708b8e0c (patch)
tree6e305d38851c21f2faebc2f57e7bbda3ba2a003a /templates
parentc9d801042d0749c921c7c0f3232df796034889e3 (diff)
downloadvyatta-op-fb828c7cf89d964482f1812eec0acd33708b8e0c.tar.gz
vyatta-op-fb828c7cf89d964482f1812eec0acd33708b8e0c.zip
use sysfs rather dmidecode to look at hardware information
Bugfix: 2896 dmidecode requires sudo access, but using /sys/class/dmi/id/* does not.
Diffstat (limited to 'templates')
-rw-r--r--templates/show/hardware/dmi/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/hardware/dmi/node.def b/templates/show/hardware/dmi/node.def
index 48db2cb..897c9ec 100644
--- a/templates/show/hardware/dmi/node.def
+++ b/templates/show/hardware/dmi/node.def
@@ -1,2 +1,2 @@
help: Show system DMI details
-run: sudo dmidecode
+run: ${vyatta_bindir}/vyatta-show-dmi