Skip to content

Commit 3197456

Browse files
authored
Merge pull request #25 from grml/mika/upower
Collect output of "upower --dump" in file "upower_dump"
2 parents 02a7d6d + d1c332b commit 3197456

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

grml-hwinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,10 @@ cd "${OUTDIR}" || exit 1
398398
fi
399399
[ -r /proc/apm/ ] && apm > ./apm
400400

401+
if exectest upower ; then
402+
upower --dump >./upower_dump 2>./upower_dump.error
403+
fi
404+
401405
# kernel stuff
402406
if [ -r /proc/config.gz ] ; then
403407
zcat /proc/config.gz > kernelconfig

0 commit comments

Comments
 (0)