[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, debian, updated. f89fb2c00b1a2606035e5cd0e35b4ebe99f049ac

Javier Fernandez-Sanguino jfs at debian.org
Wed Aug 29 12:57:48 UTC 2012


The following commit has been merged in the debian branch:
commit c7aeca22c7c22e5829e541fb4bc79f32b1874789
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date:   Wed Aug 29 01:35:52 2012 +0200

    Actually, we need both

diff --git a/debian/ossec-hids-agent.init b/debian/ossec-hids-agent.init
index 2a1025a..520d46f 100755
--- a/debian/ossec-hids-agent.init
+++ b/debian/ossec-hids-agent.init
@@ -78,7 +78,7 @@ do_test_rules()
 do_start()
 {
        [ -z "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">$LOGFILE 2>&1"
-       eval "${DIRECTORY}/bin/ossec-control start $OUT"
+       `eval "${DIRECTORY}/bin/ossec-control start $OUT"`
        return $?
        # TODO REVIEW - Return
        #   0 if daemon has been started
@@ -88,7 +88,7 @@ do_start()
 
 do_stop() {
        [ -z "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">$LOGFILE 2>&1"
-       eval "${DIRECTORY}/bin/ossec-control stop $OUT"
+       `eval "${DIRECTORY}/bin/ossec-control stop $OUT"`
        return $?
        # TODO REVIEW - Return
        #   0 if daemon has been stopped
@@ -99,7 +99,7 @@ do_stop() {
 
 do_status() {
        [ -z "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">$LOGFILE 2>&1"
-       eval "${DIRECTORY}/bin/ossec-control status $OUT"
+       `eval "${DIRECTORY}/bin/ossec-control status $OUT"`
        return $?
 }
 
diff --git a/debian/ossec-hids-local.init b/debian/ossec-hids-local.init
index 2821035..76a0e98 100755
--- a/debian/ossec-hids-local.init
+++ b/debian/ossec-hids-local.init
@@ -78,7 +78,7 @@ do_test_rules()
 do_start()
 {
        [ -z "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">$LOGFILE 2>&1"
-       eval "${DIRECTORY}/bin/ossec-control start $OUT"
+       `eval "${DIRECTORY}/bin/ossec-control start $OUT"`
        return $?
        # TODO REVIEW - Return
        #   0 if daemon has been started
@@ -88,7 +88,7 @@ do_start()
 
 do_stop() {
        [ -z "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">$LOGFILE 2>&1"
-       eval "${DIRECTORY}/bin/ossec-control stop $OUT"
+       `eval "${DIRECTORY}/bin/ossec-control stop $OUT"`
        return $?
        # TODO REVIEW - Return
        #   0 if daemon has been stopped
@@ -99,7 +99,7 @@ do_stop() {
 
 do_status() {
        [ -z "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">$LOGFILE 2>&1"
-       eval "${DIRECTORY}/bin/ossec-control status $OUT"
+       `eval "${DIRECTORY}/bin/ossec-control status $OUT"`
        return $?
 }
 
diff --git a/debian/ossec-hids-server.init b/debian/ossec-hids-server.init
index e2dfebf..989f63a 100755
--- a/debian/ossec-hids-server.init
+++ b/debian/ossec-hids-server.init
@@ -78,7 +78,7 @@ do_test_rules()
 do_start()
 {
        [ -z "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">$LOGFILE 2>&1"
-       eval "${DIRECTORY}/bin/ossec-control start $OUT"
+       `eval "${DIRECTORY}/bin/ossec-control start $OUT"`
        return $?
        # TODO REVIEW - Return
        #   0 if daemon has been started
@@ -88,7 +88,7 @@ do_start()
 
 do_stop() {
        [ -z "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">$LOGFILE 2>&1"
-       eval "${DIRECTORY}/bin/ossec-control stop $OUT"
+       `eval "${DIRECTORY}/bin/ossec-control stop $OUT"`
        return $?
        # TODO REVIEW - Return
        #   0 if daemon has been stopped
@@ -99,7 +99,7 @@ do_stop() {
 
 do_status() {
        [ -z "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">$LOGFILE 2>&1"
-       eval "${DIRECTORY}/bin/ossec-control status $OUT"
+       `eval "${DIRECTORY}/bin/ossec-control status $OUT"`
        return $?
 }
 

-- 
Git repository for pkg-ossec



More information about the Pkg-ossec-devel mailing list