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>
This commit is contained in:
Craig McQueen 2022-04-06 11:27:22 +10:00 committed by Khem Raj
parent e1de27d801
commit 6e6f6fd652

View File

@ -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