You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to resolve #635 which I was running into (my Dynu IP was incorrectly getting set to 1.0.1.1), I tried adding this to my ddclient.conf file:
But ddclient tried to interpret that whole thing as a command: I got the error sh: line 1: curl -fs http://ipv4.icanhazip.com/: No such file or directory. I haven't found any documented way to pass arguments to the command specified in the cmdv4/cmdv6 options.
Obviously I can put together a one-liner get-ipv4.sh shell script that calls curl with appropriate arguments. But it would be nice to be able to specify a command and arguments via the cmdv4 and cmdv6 options, and not have to use the indirection of a shell script.
Would it be feasible to add cmdv4-args and cmdv6-args options to ddclient? Or is "just throw together a wrapper shell script" the intended resolution, similar to how cmd-skip was deprecated in favor of doing the parsing/filtering in a wrapper script?
The text was updated successfully, but these errors were encountered:
While trying to resolve #635 which I was running into (my Dynu IP was incorrectly getting set to 1.0.1.1), I tried adding this to my ddclient.conf file:
But ddclient tried to interpret that whole thing as a command: I got the error
sh: line 1: curl -fs http://ipv4.icanhazip.com/: No such file or directory
. I haven't found any documented way to pass arguments to the command specified in the cmdv4/cmdv6 options.Obviously I can put together a one-liner get-ipv4.sh shell script that calls curl with appropriate arguments. But it would be nice to be able to specify a command and arguments via the cmdv4 and cmdv6 options, and not have to use the indirection of a shell script.
Would it be feasible to add
cmdv4-args
andcmdv6-args
options to ddclient? Or is "just throw together a wrapper shell script" the intended resolution, similar to howcmd-skip
was deprecated in favor of doing the parsing/filtering in a wrapper script?The text was updated successfully, but these errors were encountered: