diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-28 12:09:43 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-28 12:09:43 -0800 |
commit | fb828c7cf89d964482f1812eec0acd33708b8e0c (patch) | |
tree | 6e305d38851c21f2faebc2f57e7bbda3ba2a003a /templates | |
parent | c9d801042d0749c921c7c0f3232df796034889e3 (diff) | |
download | vyatta-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.def | 2 |
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 |