projects
/
grml-hwinfo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support i2c-tools's decode-dimms
[grml-hwinfo.git]
/
grml-hwinfo
diff --git
a/grml-hwinfo
b/grml-hwinfo
index
65e7566
..
ed48463
100755
(executable)
--- 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
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
/usr/share/doc/lm-sensors/examples/eeprom/decode-dimms.pl > decode-dimms 2>decode-dimms.error
fi