summaryrefslogtreecommitdiffstats
path: root/Monitoring/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Monitoring/Makefile')
-rw-r--r--Monitoring/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Monitoring/Makefile b/Monitoring/Makefile
index 74cdedac..a42707e3 100644
--- a/Monitoring/Makefile
+++ b/Monitoring/Makefile
@@ -10,8 +10,8 @@ debian:
cp -r conf/* $(NAGDIR)/conf.d/
htpasswd -bc htpasswd.users nagiosadmin krebs
htpasswd -b htpasswd.users shack shackit
- sed -i 's/\(authorized_for_all_hosts=nagiosadmin$\)/\1,shack/
- sed -i 's/\(authorized_for_all_services=nagiosadmin$\)/\1,shack/
+ sed -i 's/\(authorized_for_all_hosts=nagiosadmin\)$$/\1,shack/' $(NAGDIR)/cgi.cfg
+ sed -i 's/\(authorized_for_all_services=nagiosadmin\)$$/\1,shack/' $(NAGDIR)/cgi.cfg
cp -R htdocs/* $(HTDOCS)
cp -r plugins $(NAGLIBDIR)
/etc/init.d/nagios3 reload