summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig McQueen <craig@mcqueen.id.au>2022-04-06 11:27:22 +1000
committerKhem Raj <raj.khem@gmail.com>2022-04-06 20:25:34 -0400
commit6e6f6fd6523b40e74455ffec21c3b3938a27355a (patch)
treeeefeb07785faa7adfce1701bd36f27e39e9ff06a
parente1de27d8011f967ff20f46a08d9a70728ddf69bb (diff)
downloadmeta-openembedded-6e6f6fd6523b40e74455ffec21c3b3938a27355a.tar.gz
dnsmasq: Fix a typo in initscript
Change `PIFILE` to `PIDFILE`. This fixes the operation of `/etc/init.d/dnsmasq status` Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-support/dnsmasq/files/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/dnsmasq/files/init b/meta-networking/recipes-support/dnsmasq/files/init
index 51c95dfedd..43c286f9c7 100644
--- a/meta-networking/recipes-support/dnsmasq/files/init
+++ b/meta-networking/recipes-support/dnsmasq/files/init
@@ -16,7 +16,7 @@ fi
16DNSMASQ_CONF="/etc/dnsmasq.conf" 16DNSMASQ_CONF="/etc/dnsmasq.conf"
17test "/etc/dnsmasq.d/*" != '/etc/dnsmasq.d/*' && DNSMASQ_CONF="${DNSMASQ_CONF} /etc/dnsmasq.d/*" 17test "/etc/dnsmasq.d/*" != '/etc/dnsmasq.d/*' && DNSMASQ_CONF="${DNSMASQ_CONF} /etc/dnsmasq.d/*"
18 18
19test -z "${PIDFILE}" && PIFILE="/run/dnsmasq.pid" 19test -z "${PIDFILE}" && PIDFILE="/run/dnsmasq.pid"
20 20
21if [ -z "$IGNORE_RESOLVCONF" ] 21if [ -z "$IGNORE_RESOLVCONF" ]
22then 22then