Package: grml-hwinfo
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, sysfsutils
-Suggests: hwinfo, usbutils, pcmcia-utils, net-tools, iproute, powermgmt-base, acpi, xviddetect, xbase-clients, xresprobe, dmidecode, hdparm, parted-bf, smartmontools,
+Suggests: hwinfo, usbutils, pcmcia-utils, net-tools, iproute, powermgmt-base, acpi, xviddetect, xbase-clients, xresprobe, dmidecode, hdparm, parted-bf, smartmontools, procinfo
Conflicts: grml-scripts (<= 0.4-15)
Description: collect hardware information
This tool collects information regarding hardware. It can be
[ -r /proc/ide/ide?/hd?/geometry ] && grep . /proc/ide/ide?/hd?/geometry /dev/null | sed -e 's#/proc/ide/ide./##' > proc_ide
df -h > df 2>/dev/null
for i in free lsmod mount lsdev ; do
- $i > $i
+ [[ -x `which $i` ]] && $i > $i
done
# proc stuff