[omd-commits] OMD Git: omd: mk-livestatus: fixed livestatus_tcp-hook, start xinetd not when shinken is the core

git version control git at mathias-kettner.de
Fri Apr 5 19:52:18 CEST 2013


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

Author:   Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Fri Apr  5 19:38:31 2013 +0200
Commiter: Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Fri Apr  5 19:38:31 2013 +0200

mk-livestatus: fixed livestatus_tcp-hook, start xinetd not when shinken is the core

---

 packages/mk-livestatus/LIVESTATUS_TCP.hook |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packages/mk-livestatus/LIVESTATUS_TCP.hook b/packages/mk-livestatus/LIVESTATUS_TCP.hook
index 55f2d1b..1c240b7 100755
--- a/packages/mk-livestatus/LIVESTATUS_TCP.hook
+++ b/packages/mk-livestatus/LIVESTATUS_TCP.hook
@@ -17,7 +17,7 @@ case "$1" in
         echo "off: disable"
     ;;
     set)
-        if [ "$2" == "on" ]
+        if [ "$2" == "on" -a "$CONFIG_CORE" != "shinken" ]
         then
  	    mkdir -p $OMD_ROOT/etc/xinetd.d
             ln -sfn ../mk-livestatus/xinetd.conf $OMD_ROOT/etc/xinetd.d/mk-livestatus



More information about the omd-commits mailing list