[oe-commits] Andreas Oberritter : ulogd: fix sh equality operator
git version control
git at git.openembedded.org
Sun Nov 14 23:43:39 UTC 2010
Module: openembedded.git
Branch: master
Commit: ad1094d9de54d5d17dbb04b5285e63d3f99f6f33
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ad1094d9de54d5d17dbb04b5285e63d3f99f6f33
Author: Andreas Oberritter <obi at opendreambox.org>
Date: Tue Oct 26 15:43:39 2010 +0000
ulogd: fix sh equality operator
Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Signed-off-by: Michael Smith <msmith at cbnco.com>
---
recipes/ulogd/files/init | 4 ++--
recipes/ulogd/ulogd_1.24.bb | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/recipes/ulogd/files/init b/recipes/ulogd/files/init
index 75cb408..460955b 100644
--- a/recipes/ulogd/files/init
+++ b/recipes/ulogd/files/init
@@ -25,7 +25,7 @@ case "$1" in
echo -n "Starting $NAME: "
start-stop-daemon --start --quiet --make-pidfile --pidfile "${PIDFILE}" --background --exec ${DAEMON} -- -c ${CONFIG}
RET=$?
- if [ "$?" == "0" ]; then
+ if [ "$?" = "0" ]; then
echo "done."
else
echo "FAILED!"
@@ -40,7 +40,7 @@ case "$1" in
echo -n "ulogd "
start-stop-daemon -q -K -t -x $DAEMON
RET=$?
- if [ "$RET" == "0" ]; then
+ if [ "$RET" = "0" ]; then
PID=`cat $PIDFILE`
echo "($PID) is running"
else
diff --git a/recipes/ulogd/ulogd_1.24.bb b/recipes/ulogd/ulogd_1.24.bb
index 4245c8c..1309985 100644
--- a/recipes/ulogd/ulogd_1.24.bb
+++ b/recipes/ulogd/ulogd_1.24.bb
@@ -1,6 +1,7 @@
DESCRIPTION = "Userspace logging daemon for netfilter/iptables related logging"
LICENSE = "GPL"
DEPENDS = "libpcap"
+PR = "r1"
SRC_URI = " \
http://www.netfilter.org/projects/ulogd/files/ulogd-${PV}.tar.bz2;name=tar \
More information about the Openembedded-commits
mailing list