The sed command is broken (I guess people overlooked it somehow on the forum you refer to). It should be:
sed '/-z/s:dnsmasq:dnsmasq -r /etc/dnsmasq/resolv.conf :g' dnsmasq>dnsmasq.local
The sed command is broken (I guess people overlooked it somehow on the forum you refer to). It should be:
sed '/-z/s:dnsmasq:dnsmasq -r /etc/dnsmasq/resolv.conf :g' dnsmasq>dnsmasq.local