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:
fc4adb6
)
Redirect dpkg error message for running_kernel
author
Michael Prokop
<mika@grml.org>
Wed, 15 Aug 2012 23:43:25 +0000
(
01:43
+0200)
committer
Michael Prokop
<mika@grml.org>
Wed, 15 Aug 2012 23:43:25 +0000
(
01:43
+0200)
grml-hwinfo
patch
|
blob
|
history
diff --git
a/grml-hwinfo
b/grml-hwinfo
index
9b261c1
..
579271d
100755
(executable)
--- a/
grml-hwinfo
+++ b/
grml-hwinfo
@@
-198,8
+198,8
@@
cd "${OUTDIR}" || exit 1
[ -r /boot/config-$UNAME ] && cat /boot/config-$UNAME > kernelconfig
fi
[ -r /boot/config-$UNAME ] && cat /boot/config-$UNAME > kernelconfig
fi
- exectest dpkg && COLUMNS=1000 dpkg -l linux-image-$UNAME \
- | grep linux-image-$UNAME | tr -s ' ' > running_kernel 2>running_kernel.error
+ exectest dpkg && COLUMNS=1000 dpkg -l linux-image-$UNAME
2>running_kernel.error
\
+ | grep linux-image-$UNAME | tr -s ' ' > running_kernel 2>
>
running_kernel.error
dpkg -S /boot/vmlinuz-$(uname -r) >> running_kernel 2>>running_kernel.error
# X stuff
dpkg -S /boot/vmlinuz-$(uname -r) >> running_kernel 2>>running_kernel.error
# X stuff