[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, master, updated. f89fb2c00b1a2606035e5cd0e35b4ebe99f049ac
Javier Fernandez-Sanguino
jfs at debian.org
Wed Aug 29 16:31:33 UTC 2012
The following commit has been merged in the master branch:
commit abe264ae4bb0d03a93acfc1b9e85bf0164983572
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date: Wed Aug 29 01:12:07 2012 +0200
We need to eval in the shell to use the OUT variable
diff --git a/debian/ossec-hids-agent.init b/debian/ossec-hids-agent.init
index 66b4cf1..7923e3e 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"
- ${DIRECTORY}/bin/ossec-control start $OUT
+ `${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"
- ${DIRECTORY}/bin/ossec-control stop $OUT
+ `${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"
- ${DIRECTORY}/bin/ossec-control status $OUT
+ `${DIRECTORY}/bin/ossec-control status $OUT`
return $?
}
diff --git a/debian/ossec-hids-local.init b/debian/ossec-hids-local.init
index 966735e..b146f34 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"
- ${DIRECTORY}/bin/ossec-control start $OUT
+ `${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"
- ${DIRECTORY}/bin/ossec-control stop $OUT
+ `${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"
- ${DIRECTORY}/bin/ossec-control status $OUT
+ `${DIRECTORY}/bin/ossec-control status $OUT`
return $?
}
diff --git a/debian/ossec-hids-server.init b/debian/ossec-hids-server.init
index 3c804e7..2491b05 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"
- ${DIRECTORY}/bin/ossec-control start $OUT
+ `${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"
- ${DIRECTORY}/bin/ossec-control stop $OUT
+ `${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"
- ${DIRECTORY}/bin/ossec-control status $OUT
+ `${DIRECTORY}/bin/ossec-control status $OUT`
return $?
}
--
Git repository for pkg-ossec
More information about the Pkg-ossec-devel
mailing list