[Dnsmasq-discuss] dnsmasq won't quit if listening on 'empty' bridge?

gypsy at iswest.com gypsy at iswest.com
Mon Mar 30 18:54:29 BST 2009


Quoting Paul Chambers <dnsmasq at lists.bod.org>:
> The strangest part is that I can't recreate this by typing the same 
> command into the shell as is used by the script (service dnsmasq 
> restart). Nor by running the script itself manually. It only happens 
> when cron runs the script.

The cron job is run by root?

I have to put a 10 second delay between the stop and start, something like
this:
  sleep 1
  killall dnsmasq       2>/dev/null
  echo -n " 9 "
  sleep 1
  killall dnsmasq       2>/dev/null
  echo -n "8 "
--
gypsy



More information about the Dnsmasq-discuss mailing list