aboutsummaryrefslogtreecommitdiffstats
path: root/collect.d
diff options
context:
space:
mode:
Diffstat (limited to 'collect.d')
-rwxr-xr-xcollect.d/siteinfo6
1 files changed, 3 insertions, 3 deletions
diff --git a/collect.d/siteinfo b/collect.d/siteinfo
index e7254e7..e17e2e0 100755
--- a/collect.d/siteinfo
+++ b/collect.d/siteinfo
@@ -2,13 +2,13 @@
# site = location
# sitegroup = sublocation
-# sitecontact = email to site contact
+# sitecontact = comma-separated list of emails to site contacts
# hostclass = type of host (server, workstation, laptop, etc)
mkdir siteinfo && cd siteinfo
for filename in site sitegroup sitecontact hostclass ; do
- file=/etc/sitecollector/$filename
+ file=/etc/sitesummary/$filename
if [ -f $file ] ; then
- cp $file siteinfo/$filename
+ cp $file $filename
fi
done