From 6e6f6fd6523b40e74455ffec21c3b3938a27355a Mon Sep 17 00:00:00 2001 From: Craig McQueen Date: Wed, 6 Apr 2022 11:27:22 +1000 Subject: [PATCH] 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 --- meta-networking/recipes-support/dnsmasq/files/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-support/dnsmasq/files/init b/meta-networking/recipes-support/dnsmasq/files/init index 51c95dfedd5..43c286f9c7c 100644 --- a/meta-networking/recipes-support/dnsmasq/files/init +++ b/meta-networking/recipes-support/dnsmasq/files/init @@ -16,7 +16,7 @@ fi DNSMASQ_CONF="/etc/dnsmasq.conf" test "/etc/dnsmasq.d/*" != '/etc/dnsmasq.d/*' && DNSMASQ_CONF="${DNSMASQ_CONF} /etc/dnsmasq.d/*" -test -z "${PIDFILE}" && PIFILE="/run/dnsmasq.pid" +test -z "${PIDFILE}" && PIDFILE="/run/dnsmasq.pid" if [ -z "$IGNORE_RESOLVCONF" ] then