X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-hwinfo;h=7884e4b196ce5e48d1b336a334f21c0b27114552;hb=f89b5536c8d3b17a0c832e4a2a8f9732144eede8;hp=6cbda82d45b39ed61ebec7c9ca33b12aac4f4ba7;hpb=63be8b7f867963defe9bbee7abb6dc1d70c1f816;p=grml-hwinfo.git diff --git a/grml-hwinfo b/grml-hwinfo index 6cbda82..7884e4b 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -222,7 +222,10 @@ cd "${OUTDIR}" || exit 1 # power management exectest laptop-detect && laptop-detect >/dev/null 2>/dev/null && echo "0" > laptop_detected - exectest acpi_available && acpi_available && cat /proc/acpi/info > acpi_info + if [ -r /proc/acpi/info ] ; then + cat /proc/acpi/info > acpi_info + fi + exectest acpi && acpi > acpi 2> acpi.error && acpi -v > acpi.version [ -r /proc/apm/ ] && apm > apm