From fb828c7cf89d964482f1812eec0acd33708b8e0c Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 28 Feb 2008 12:09:43 -0800 Subject: use sysfs rather dmidecode to look at hardware information Bugfix: 2896 dmidecode requires sudo access, but using /sys/class/dmi/id/* does not. --- templates/show/hardware/dmi/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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 -- cgit v1.2.3