projects
/
grml-hwinfo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
08c1352
)
Support mcelog
author
Michael Prokop
<mika@grml.org>
Tue, 2 Sep 2014 03:46:32 +0000
(20:46 -0700)
committer
Michael Prokop
<mika@grml.org>
Tue, 2 Sep 2014 04:02:55 +0000
(21:02 -0700)
debian/control
patch
|
blob
|
history
grml-hwinfo
patch
|
blob
|
history
diff --git
a/debian/control
b/debian/control
index
7aa8750
..
d29d4d6
100644
(file)
--- a/
debian/control
+++ b/
debian/control
@@
-24,6
+24,7
@@
Recommends: acpi,
laptop-detect,
lsscsi,
lvm2,
laptop-detect,
lsscsi,
lvm2,
+ mcelog,
mdadm,
net-tools,
numactl,
mdadm,
net-tools,
numactl,
diff --git
a/grml-hwinfo
b/grml-hwinfo
index
be80cd6
..
2898a3c
100755
(executable)
--- a/
grml-hwinfo
+++ b/
grml-hwinfo
@@
-242,6
+242,10
@@
cd "${OUTDIR}" || exit 1
exectest acpi && acpi > acpi 2> acpi.error && acpi -v > acpi.version
[ -r /proc/apm/ ] && apm > apm
exectest acpi && acpi > acpi 2> acpi.error && acpi -v > acpi.version
[ -r /proc/apm/ ] && apm > apm
+ if exectest mcelog ; then
+ mcelog > mcelog 2>mcelog.error
+ fi
+
# kernel stuff
if [ -r /proc/config.gz ] ; then
zcat /proc/config.gz > kernelconfig
# kernel stuff
if [ -r /proc/config.gz ] ; then
zcat /proc/config.gz > kernelconfig
@@
-281,6
+285,10
@@
cd "${OUTDIR}" || exit 1
exectest dconf && dconf -o dconf
exectest dconf && dconf -o dconf
+ if exectest mcelog ; then
+ mcelog --dmi > mcelog_dmi 2>mcelog_dmi.error
+ fi
+
if [ -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
if [ -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