summaryrefslogtreecommitdiffstats
path: root/Monitoring/Makefile
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
commitdc7aa27e51865ff9b9e4f3101469036e277ec557 (patch)
tree98494ff35db2698ea21091b7d265bcb47c836a3c /Monitoring/Makefile
parent97263895916d318b160e442f2dba6861e993bcf9 (diff)
fixed Makefile ... again
sed command was fucked up,should work now
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