Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running create-dnsmasq.sh #207

Open
crkinard opened this issue Sep 17, 2022 · 2 comments
Open

Error when running create-dnsmasq.sh #207

crkinard opened this issue Sep 17, 2022 · 2 comments

Comments

@crkinard
Copy link

crkinard commented Sep 17, 2022

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/

@kizmat
Copy link

kizmat commented Oct 7, 2022

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

@Morpheus84h
Copy link

parse error: Expected another key-value pair at line 9, column 2
thats that line:

out=$?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants