dnsmasq: fix remove pidfile on shutdown regression
[openwrt/openwrt.git] / package / network / services / dnsmasq / files / dnsmasq.init
index 2b81a61..4cd5f67 100644 (file)
@@ -643,6 +643,7 @@ start_service() {
        mkdir -p $(dirname $CONFIGFILE)
        mkdir -p /var/lib/misc
        touch /tmp/dhcp.leases
+       chown dnsmasq:dnsmasq /var/run/dnsmasq
 
        [ -f "$TIMESTAMPFILE" ] && rm -f "$TIMESTAMPFILE"