Closed aNerdgirl closed 4 years ago
script has been made and en tested on Raspbian.
download the script:
sudo wget https://raw.githubusercontent.com/jpgpi250/piholemanual/master/NextDNS.sh -O /home/pi/NextDNS.sh
execute the script:
chmod +x /home/pi/NextDNS.sh
sudo /home/pi/NextDNS.sh
I run the script weekly, using cron, to add possible new entries from nextDNS.
I forgot to use chmod to make it executable. Thank you so much!
Hi. Thanks for the script. I copied it over (downloaded it from you). But when I run
$ sh /usr/local/bin/NextDNS.sh or $ sudo sh ./usr/local/bin/NextDNS.sh
I get always the same error as mentioned above:
Any idea why? Thank you in advance!