dnsmasq: fix sh equality operator
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 26 Oct 2010 15:42:51 +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/dnsmasq/dnsmasq.inc
recipes/dnsmasq/files/init

index 9f6e3e9..0181be4 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.thekelleys.org.uk/dnsmasq/doc.html"
 SECTION = "console/network"
 LICENSE = "GPL"
 
-PR = "r1"
+PR = "r2"
 
 #at least versions 2.15 and prior are moved to the archive folder on the server
 SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(bb.data.getVar('PV',d,1).split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \
index 6f1fd32..d1aa9e5 100644 (file)
@@ -24,7 +24,7 @@ case "$1" in
        echo -n "dnsmasq "
        start-stop-daemon -q -K -t -x $DAEMON
        RET=$?
-       if [ "$RET" == "0" ]; then
+       if [ "$RET" = "0" ]; then
                PID=`cat /var/run/dnsmasq.pid`
                echo "($PID) is running"
        else