diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2006-08-28 12:29:31 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2006-08-28 12:29:31 +0000 |
commit | 5efe1c278f5d909a2b6506ef5f8e195b02c2bdb0 (patch) | |
tree | 1569fbedfb32f4c6f24c23386c966157de1c1597 | |
parent | d5670c23740211ff28ac37cca7ed3e4a418da914 (diff) | |
download | sitesummary-5efe1c278f5d909a2b6506ef5f8e195b02c2bdb0.tar.gz sitesummary-5efe1c278f5d909a2b6506ef5f8e195b02c2bdb0.tar.bz2 sitesummary-5efe1c278f5d909a2b6506ef5f8e195b02c2bdb0.tar.xz |
* Collect output from lsusb and lsscsi if they are present.
-rw-r--r-- | collect.d/system | 12 | ||||
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/control | 2 |
3 files changed, 12 insertions, 3 deletions
diff --git a/collect.d/system b/collect.d/system index 2843731..be922af 100644 --- a/collect.d/system +++ b/collect.d/system @@ -6,15 +6,23 @@ set -e mkdir system && cd system -if type dmidecode >/dev/null; then +if type dmidecode >/dev/null 2>&1; then dmidecode > dmidecode fi -if type lspci >/dev/null; then +if type lspci >/dev/null 2>&1; then lspci > lspci lspci -n > lspci-n fi +if type lsusb >/dev/null 2>&1; then + lsusb > lsusb +fi + +if type lsscsi >/dev/null 2>&1; then + lsscsi > lsscsi +fi + uname -smr > uname-smr uname -n > hostname ifconfig -a > ifconfig-a diff --git a/debian/changelog b/debian/changelog index 45dec24..5594050 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ sitesummary (0.0.5) UNRELEASED; urgency=low [ Petter Reinholdtsen ] * Add debconf question for sitegroup and host class. + * Collect output from lsusb and lsscsi if they are present. [ Steffen Joeris ] * Update debian/copyright file diff --git a/debian/control b/debian/control index 54b0e20..f4b1e33 100644 --- a/debian/control +++ b/debian/control @@ -16,7 +16,7 @@ Description: Generate site summary of submitting hosts, server package Package: sitesummary-client Architecture: all Depends: ${misc:Depends}, wget, gnupg -Recommends: dmidecide, pciutils, sitesummary +Recommends: dmidecide, pciutils, usbutils, lsscsi, sitesummary Description: Generate site summary of submitting hosts, client package Nice client. |