aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2008-07-04 07:46:08 +0000
committerPetter Reinholdtsen <pere@hungry.com>2008-07-04 07:46:08 +0000
commitf0b4320ae9692441fb4123be948d0c16f224543d (patch)
treeaf7c413e9cd2fbcd928be1af6b4588519da762d3
parent68d73aa3dd382c01a906e0e23ff27a13c9690c4e (diff)
downloadsitesummary-f0b4320ae9692441fb4123be948d0c16f224543d.tar.gz
sitesummary-f0b4320ae9692441fb4123be948d0c16f224543d.tar.bz2
sitesummary-f0b4320ae9692441fb4123be948d0c16f224543d.tar.xz
Collect ssh host keys and xorg.conf too.
-rw-r--r--collect.d/system8
-rw-r--r--debian/changelog3
2 files changed, 10 insertions, 1 deletions
diff --git a/collect.d/system b/collect.d/system
index 24590d3..21909c7 100644
--- a/collect.d/system
+++ b/collect.d/system
@@ -47,3 +47,11 @@ runlevel > runlevel
if [ -x /usr/sbin/laptop-detect ] && /usr/sbin/laptop-detect; then
touch laptop
fi
+
+for f in /etc/ssh/ssh_host*.pub ; do
+ cp $f .
+done
+
+if [ -f /etc/X11/xorg.conf ]; then
+ cp /etc/X11/xorg.conf .
+fi
diff --git a/debian/changelog b/debian/changelog
index 76e3f59..ba20a52 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,8 @@ sitesummary (0.0.43) UNRELEASED; urgency=low
* Fix the code running collector handlers, to get it working when
the perl script is in tained mode.
- * Collect the current route table and if the host is a laptop.
+ * Collect the current route table, if the host is a laptop, the
+ public ssh host keys and the xorg.conf file.
-- Petter Reinholdtsen <pere@debian.org> Fri, 13 Jun 2008 21:40:49 +0200