Skip to content

Commit

Permalink
dnsmasq: Fix a typo in initscript
Browse files Browse the repository at this point in the history
Change `PIFILE` to `PIDFILE`.

This fixes the operation of `/etc/init.d/dnsmasq status`

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
cmcqueen authored and kraj committed Apr 7, 2022
1 parent e1de27d commit 6e6f6fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-networking/recipes-support/dnsmasq/files/init
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e6f6fd

Please sign in to comment.