[omd-commits] OMD Git: omd: shinken: fixed typo in init script

git version control git at mathias-kettner.de
Thu May 17 09:40:13 CEST 2012


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

Author:   Sven Nierlein <sven at nierlein.de>
Date:     Thu May 17 09:39:23 2012 +0200
Commiter: Sven Nierlein <sven at nierlein.de>
Date:     Thu May 17 09:39:23 2012 +0200

shinken: fixed typo in init script

---

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

diff --git a/packages/shinken/skel/etc/init.d/shinken b/packages/shinken/skel/etc/init.d/shinken
index 6416084..d3259b3 100644
--- a/packages/shinken/skel/etc/init.d/shinken
+++ b/packages/shinken/skel/etc/init.d/shinken
@@ -93,7 +93,7 @@ AVAIL_MODULES="scheduler poller reactionner broker arbiter"
 #
 # OMD: create configuration file out of fragments
 #
-case "$1" in start|restart|reload|checkconfig)
+case "$1" in start|restart|reload|checkconfig|check)
     #
     # Step 1
     #   etc/shinken/shinken.d/*.cfg
@@ -110,7 +110,7 @@ case "$1" in start|restart|reload|checkconfig)
     # copy etc/shinken/shinken-specific.d to tmp/shinken/shinken-specific.d
     # modify the files in tmp/shinken/shinken-specific.d
     #
-    rm -rf $TARGET_ETC/shinken.specific.d
+    rm -rf $TARGET_ETC/shinken-specific.d
     cp -r $SOURCE_ETC/shinken-specific.d $TARGET_ETC
     cat <<EOTXT > $SOURCE_ETC/shinken-specific.d/README
 Do not edit the files in this directory. They were copied over from



More information about the omd-commits mailing list