Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5550545
By: sebastienw
Hi,
Not really a feature request.. just a documentation request..
The postscript option is undocumented.
For those interested.. when dyndns (or other) is updated, you can execute a
script.
You would expect that you can use some variables with the script.. so I tried
"script.sh var1 ${ip} var3" but it kept failing.
After checking the code, the IP variable is passed as first argument to the
postscript script, no matter what.
So basically you must set up like this :
postscript='script.sh'
When the IP is updated, ddclient will actually run :
script.sh 1.2.3.4
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=467339
|