From 821640548d123c0291c9d5e05c4eb8c6a285dec0 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 1 Sep 2014 21:02:00 -0700 Subject: [PATCH] Support i2c-tools's decode-dimms --- debian/control | 1 + grml-hwinfo | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index bdfd20a..b470123 100644 --- a/debian/control +++ b/debian/control @@ -21,6 +21,7 @@ Recommends: acpi, edac-utils, hdparm, hwinfo, + i2c-tools, iproute2 | iproute, laptop-detect, lsscsi, diff --git a/grml-hwinfo b/grml-hwinfo index 65e7566..ed48463 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -294,7 +294,9 @@ cd "${OUTDIR}" || exit 1 edac-util --report=full > edac-util_report 2>edac-util_report.error fi - if [ -x /usr/share/doc/lm-sensors/examples/eeprom/decode-dimms.pl ] ; then + if exectest decode-dimms ; then + decode-dimms > decode-dimms 2>decode-dimms.error + elif [ -x /usr/share/doc/lm-sensors/examples/eeprom/decode-dimms.pl ] ; then /usr/share/doc/lm-sensors/examples/eeprom/decode-dimms.pl > decode-dimms 2>decode-dimms.error fi -- 2.1.4