arpitjindal97 / raspbian-recipes

Raspberry networking made easy - Need Contributors
GNU General Public License v3.0
410 stars 164 forks source link

Fix a problem with creating the custom-dnsmasq.conf #26

Closed glenpike closed 6 years ago

glenpike commented 6 years ago

If the /etc/dnsmasq.d directory isn't writeable by the pi user, then it won't allow the custom conf to be created. sudo echo... won't work for redirecting the output, so write to a temp file, then copy across with sudo.

arpitjindal97 commented 6 years ago

Thanks for this