diff options
author | Holger Levsen <holger@layer-acht.org> | 2010-10-21 11:00:49 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2010-10-21 11:00:49 +0000 |
commit | 760180b0f822e2976fd5e732208a518f8295a88e (patch) | |
tree | 668e799f2cf32cb898c66713858af10fadca7d68 | |
parent | 36766cb978f99b44c0da2db3e6ee1906f9c30715 (diff) | |
download | sitesummary-760180b0f822e2976fd5e732208a518f8295a88e.tar.gz sitesummary-760180b0f822e2976fd5e732208a518f8295a88e.tar.bz2 sitesummary-760180b0f822e2976fd5e732208a518f8295a88e.tar.xz |
* collect.d/system:
- only run lspci if /proc/bus/pci exists
-rw-r--r-- | collect.d/system | 2 | ||||
-rw-r--r-- | debian/changelog | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/collect.d/system b/collect.d/system index bb36229..1d8d97d 100644 --- a/collect.d/system +++ b/collect.d/system @@ -13,7 +13,7 @@ if type dmidecode >/dev/null 2>&1; then dmidecode > dmidecode 2> /dev/null fi -if type lspci >/dev/null 2>&1; then +if [ -d /proc/bus/pci ] && type lspci >/dev/null 2>&1; then lspci > lspci lspci -n > lspci-n fi diff --git a/debian/changelog b/debian/changelog index d6d9859..2620ae6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,9 @@ sitesummary (0.0.66~unreleased) UNRELEASED; urgency=low [ Holger Levsen ] - * collect.d/system: collect /var/log/Xorg.0.log if it exists. + * collect.d/system: + - collect /var/log/Xorg.0.log if it exists. + - only run lspci if /proc/bus/pci exists -- Holger Levsen <holger@debian.org> Fri, 01 Oct 2010 17:54:16 +0200 |