Skip to content

local: ns1.asuscomm.com: bad variable name #2

@WulfgarCA

Description

@WulfgarCA

Hi there,
I had the following error:
./ASUSddns.sh: 28: local: ns1.asuscomm.com: bad variable name

after googling a bit I found this:
"local" is a bash-specific feature which is not defined in the POSIX standard for sh (the POSIX shell).

after changing the top of the script to #!/bin/bash everything works fine.
I am running Ubuntu 19.10 and just wanted to give this as a feedback if someone else has the same error.

Thanks for the great script!

P.S.: My Mac address was stored in "et2macaddr" and not "et0macaddr" as mentioned in the docu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions