ulogd: fix sh equality operator
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 26 Oct 2010 15:43:39 +0000 (15:43 +0000)
committerMichael Smith <msmith@cbnco.com>
Sun, 14 Nov 2010 23:36:56 +0000 (18:36 -0500)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Michael Smith <msmith@cbnco.com>
recipes/ulogd/files/init
recipes/ulogd/ulogd_1.24.bb

index 75cb408..460955b 100644 (file)
@@ -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
index 4245c8c..1309985 100644 (file)
@@ -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 \