Skip to main content
1 of 2
rozcietrzewiacz
  • 40.2k
  • 9
  • 98
  • 105

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
rozcietrzewiacz
  • 40.2k
  • 9
  • 98
  • 105