From 09c21693bf33fe212046f2e1cbbe6a879d49b875 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Tue, 26 Oct 2010 15:42:49 +0000 Subject: conntrack-tools: fix sh equality operator Signed-off-by: Andreas Oberritter Signed-off-by: Michael Smith --- recipes/conntrack-tools/conntrack-tools_0.9.14.bb | 2 +- recipes/conntrack-tools/files/init | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes/conntrack-tools') diff --git a/recipes/conntrack-tools/conntrack-tools_0.9.14.bb b/recipes/conntrack-tools/conntrack-tools_0.9.14.bb index d5f1e4a2bf..5b1712c846 100644 --- a/recipes/conntrack-tools/conntrack-tools_0.9.14.bb +++ b/recipes/conntrack-tools/conntrack-tools_0.9.14.bb @@ -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 \ diff --git a/recipes/conntrack-tools/files/init b/recipes/conntrack-tools/files/init index cb7a7fb658..6cda750002 100644 --- a/recipes/conntrack-tools/files/init +++ b/recipes/conntrack-tools/files/init @@ -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 -- cgit 1.2.3-korg