When you use dnsmasq as a dhcp server for the internal network, it ALWAYS gives an error about failing to bind to interface. I'm attaching an initscript which seems to work. Basically, it seems that dnsmasq automatically backgrounds itself anyway, so start-stop-daemon seems to be getting in the way in the start() function. Without that daemon everything is rosy. However, I left start-stop-daemon to do the stopping in the stop() function.
Created attachment 26999 [details] dnsmasq proposed initscript
oh um, ignore the after firewall bit, that's not completely necessary
Committed.