Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Michael Smith <msmith@cbnco.com>
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 \
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
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