aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dnsmasq
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2010-10-26 15:42:51 +0000
committerMichael Smith <msmith@cbnco.com>2010-11-14 18:36:52 -0500
commit602f296587be0cf7e0faf7494a1e6608b3737265 (patch)
treeb89125d51fd196a1b5ef97cdc1e04bbc83f7ec45 /recipes/dnsmasq
parent09c21693bf33fe212046f2e1cbbe6a879d49b875 (diff)
downloadopenembedded-602f296587be0cf7e0faf7494a1e6608b3737265.tar.gz
dnsmasq: fix sh equality operator
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Michael Smith <msmith@cbnco.com>
Diffstat (limited to 'recipes/dnsmasq')
-rw-r--r--recipes/dnsmasq/dnsmasq.inc2
-rw-r--r--recipes/dnsmasq/files/init2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/dnsmasq/dnsmasq.inc b/recipes/dnsmasq/dnsmasq.inc
index 9f6e3e955b..0181be4081 100644
--- a/recipes/dnsmasq/dnsmasq.inc
+++ b/recipes/dnsmasq/dnsmasq.inc
@@ -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} \
diff --git a/recipes/dnsmasq/files/init b/recipes/dnsmasq/files/init
index 6f1fd320da..d1aa9e517d 100644
--- a/recipes/dnsmasq/files/init
+++ b/recipes/dnsmasq/files/init
@@ -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