summaryrefslogtreecommitdiffstats
path: root/Monitoring
diff options
context:
space:
mode:
authorFelix Richter <Felix.Richter@syntax-fehler.de>2011-06-02 22:59:52 +0200
committerFelix Richter <Felix.Richter@syntax-fehler.de>2011-06-02 23:03:47 +0200
commit2c2d1d05b91aacd24bc00ad966bec572757139bc (patch)
tree2d4bc4405f0bf0b5da8eec3a8d5c6e40ef97ffbb /Monitoring
parentdf46dc81676c33f0998ab9e1544c27a5e5e0588b (diff)
fixed Makefile ... again
sed command was fucked up,should work now
Diffstat (limited to 'Monitoring')
-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