- /etc/init.d/dnsmasq --quiet --nodeps conditionalrestart
- elif [ -x "${PREFIX}"/etc/rc.d/dnsmasq ]; then
+ /etc/init.d/dnsmasq ${INIT_EXTRA} conditionalrestart
+ elif [ -x "${PREFIX}"/etc/rc.d/dnsmasq -a -s /var/run/dnsmasq.pid ]; then
+ kill -0 $(cat /var/run/dnsmasq.pid) && \