Open crkinard opened 2 years ago
I fixed this by using ./create-dnsmasq.sh. You probably tried sh ./create-dnsmasq.sh
See this: https://stackoverflow.com/questions/2462317/bash-syntax-error-redirection-unexpected
parse error: Expected another key-value pair at line 9, column 2 thats that line:
out=$?
Is anybody still experiencing this problem?
Trying to convert the CDN address text files to dnsmasq format.
But when running the create file I get this error.
./create-dnsmasq.sh: line 21: syntax error: unexpected redirection
Following instructions from here though I am not using piehole. Just my routers dnsmasq server. https://oct8l.gitlab.io/posts/2021/297/scripting-lancache-dns-updates-with-pi-hole/