[omd-commits] OMD Git: omd: nagios: fixed config creation on config check

git version control git at mathias-kettner.de
Sat Jun 25 16:59:04 CEST 2011


Module:   omd
Branch:   master
Commit:   1dc7866a0dcd01ad20bad00e84e18a706a346ba0
URL:      http://omdistro.org/projects/omd/repository/revisions/1dc7866a0dcd01ad20bad00e84e18a706a346ba0

Author:   Sven Nierlein <sven at nierlein.de>
Date:     Tue Jun 21 16:25:32 2011 +0200
Commiter: Sven Nierlein <sven at nierlein.de>
Date:     Sat Jun 25 16:57:09 2011 +0200

nagios: fixed config creation on config check

Signed-off-by: Sven Nierlein <sven at nierlein.de>

---

 packages/nagios/skel/etc/init.d/nagios |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packages/nagios/skel/etc/init.d/nagios b/packages/nagios/skel/etc/init.d/nagios
index f8c037a..df2ecfb 100755
--- a/packages/nagios/skel/etc/init.d/nagios
+++ b/packages/nagios/skel/etc/init.d/nagios
@@ -48,7 +48,7 @@ USR=###SITE###
 GRP=###SITE###
 
 # OMD: create configuration file out of fragments
-case "$1" in start|restart|reload|checkconfig)
+case "$1" in start|restart|reload|checkconfig|check)
     merge-nagios-config \
        ###ROOT###/etc/nagios/nagios.d/* \
        ###ROOT###/etc/nagios/nagios.cfg \



More information about the omd-commits mailing list