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:
90c0786
)
Log output of verbose lsusb run in file lsusb_verbose
author
Michael Prokop
<mika@grml.org>
Tue, 15 Jan 2019 09:27:48 +0000
(10:27 +0100)
committer
Michael Prokop
<mika@grml.org>
Tue, 15 Jan 2019 09:36:35 +0000
(10:36 +0100)
grml-hwinfo
patch
|
blob
|
history
diff --git
a/grml-hwinfo
b/grml-hwinfo
index
491a09b
..
a5374f3
100755
(executable)
--- a/
grml-hwinfo
+++ b/
grml-hwinfo
@@
-198,9
+198,15
@@
cd "${OUTDIR}" || exit 1
cat /proc/partitions > partitions
find /proc/ide/ -name geometry -exec grep . {} \; > proc_ide 2>/dev/null
df -h > ./df 2>/dev/null
cat /proc/partitions > partitions
find /proc/ide/ -name geometry -exec grep . {} \; > proc_ide 2>/dev/null
df -h > ./df 2>/dev/null
- for i in free lsmod mount lsdev lspnp
lsusb
; do
+ for i in free lsmod mount lsdev lspnp ; do
exectest $i && $i > ./$i
done
exectest $i && $i > ./$i
done
+
+ if exectest lsusb ; then
+ lsusb > ./lsusb
+ lsusb -v > ./lsusb_verbose 2>./lsusb_verbose.error
+ fi
+
swapon -s > ./swapon 2>./swapon.error
# proc stuff
swapon -s > ./swapon 2>./swapon.error
# proc stuff