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:
e73ccbe
)
Fix typo in apm code, thanks formorer
author
Michael Prokop
<mika@grml.org>
Mon, 11 Jun 2007 10:37:01 +0000
(12:37 +0200)
committer
Michael Prokop
<mika@grml.org>
Mon, 11 Jun 2007 10:37:01 +0000
(12:37 +0200)
grml-hwinfo
patch
|
blob
|
history
diff --git
a/grml-hwinfo
b/grml-hwinfo
index
7ca5c18
..
5d7dbae
100755
(executable)
--- a/
grml-hwinfo
+++ b/
grml-hwinfo
@@
-130,9
+130,9
@@
mkdir info || exit -1
# powermanagement
exectest laptop-detect && laptop-detect 1>/dev/null 2>/dev/null && echo "0" > laptop_detected
# powermanagement
exectest laptop-detect && laptop-detect 1>/dev/null 2>/dev/null && echo "0" > laptop_detected
- exectest acpi_available
&& acpi_available && cat /proc/acpi/info > acpi_info
- exectest acpi
&& acpi > acpi 2> acpi.error && acpi -v > acpi.version
- [ -r /proc/apm/
] && apm > acpi
+ exectest acpi_available && acpi_available && cat /proc/acpi/info > acpi_info
+ exectest acpi && acpi > acpi 2> acpi.error && acpi -v > acpi.version
+ [ -r /proc/apm/
] && apm > apm
# kernel stuff
if [ -r /proc/config.gz ] ; then
# kernel stuff
if [ -r /proc/config.gz ] ; then