From: Alexander Wirt Date: Mon, 11 Jun 2007 09:45:25 +0000 (+0200) Subject: Add procinfo to suggests. Check for installed binaries. X-Git-Tag: 0.3.4~9 X-Git-Url: http://git.grml.org/?p=grml-hwinfo.git;a=commitdiff_plain;h=bf84d51f2a1da6eb3435357e88d7b17d2a96edb8 Add procinfo to suggests. Check for installed binaries. --- diff --git a/debian/control b/debian/control index ad36d6a..935ee8d 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Standards-Version: 3.7.2 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 diff --git a/grml-hwinfo b/grml-hwinfo index b30976c..3fed78d 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -83,7 +83,7 @@ mkdir info || exit -1 [ -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