conntrack-tools: fix sh equality operator
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 26 Oct 2010 15:42:49 +0000 (15:42 +0000)
committerMichael Smith <msmith@cbnco.com>
Sun, 14 Nov 2010 23:36:52 +0000 (18:36 -0500)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Michael Smith <msmith@cbnco.com>
recipes/conntrack-tools/conntrack-tools_0.9.14.bb
recipes/conntrack-tools/files/init

index d5f1e4a..5b1712c 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Connection tracking userspace tools for Linux"
 LICENSE = "GPL"
 DEPENDS = "libnfnetlink libnetfilter-conntrack"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = " \
        http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-${PV}.tar.bz2;name=tar \
index cb7a7fb..6cda750 100644 (file)
@@ -38,7 +38,7 @@ case "$1" in
        done
        start-stop-daemon --start --quiet --make-pidfile --pidfile "/var/run/${NAME}.pid" --background --exec "${DAEMON}"
        RET=$?
-       if [ "$?" == "0" ]; then
+       if [ "$?" = "0" ]; then
                sleep 2
                # Sync with other server
                conntrackd -n
@@ -56,7 +56,7 @@ case "$1" in
        echo -n "conntrackd "
        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