diff options
-rw-r--r-- | Makefile | 4 | ||||
-rwxr-xr-x | collect.d/siteinfo | 6 |
2 files changed, 9 insertions, 1 deletions
@@ -10,7 +10,9 @@ collectordir = $(libdir)/sitesummary/collect.d INSTALL = install INSTALL_DATA = $(INSTALL) -m 644 -COLLECTORS = collect.d/system +COLLECTORS = \ + collect.d/system \ + collect.d/siteinfo all: diff --git a/collect.d/siteinfo b/collect.d/siteinfo new file mode 100755 index 0000000..7b8c051 --- /dev/null +++ b/collect.d/siteinfo @@ -0,0 +1,6 @@ +#!/bin/sh + +mkdir siteinfo && cd siteinfo +if [ -f /etc/siteinfo ] ; then + cat /etc/siteinfo > siteinfo +fi |