gtwy / IPv6forDuckDNS

Script to submit both IPv6 and IPv4 addresses to DuckDNS
GNU General Public License v3.0
61 stars 16 forks source link

autoconf-duckdns6.sh: 14: Syntax error: redirection unexpected #7

Closed nex86 closed 1 year ago

nex86 commented 1 year ago

getting the following error when launching the script: autoconf-duckdns6.sh: 14: Syntax error: redirection unexpected

running this from debian 11.

gtwy commented 1 year ago

Do you have all of the prerequisites as listed in the README?

Line 14 directly references this read -r _ _ _ _ iface _ ipv4local <<<"$(ip r g 8.8.8.8 | head -1)"

You should troubleshoot your system to see why that command doesn't work. I cannot reproduce it, so I am not sure what advice to give. Let me know what you find.

gtwy commented 1 year ago

Closing this because I did not hear back. I will assume it was a dependency issue unless I hear something more from you.