Optware / Optware-ng

279 stars 52 forks source link

Ddclient bug #216

Closed PiotrC1 closed 6 years ago

PiotrC1 commented 6 years ago

Conditions:

  1. Tomato by Shibby
  2. /opt/etc/var/cache/client/ddclient.cache removed
  3. /opt/etc/init.d/S95ddclient start issued

Symptoms: Ddclient doesn't register new IP address on dyndns service. PS shows following:

ddclient - closed dynupdate.no-ip.com port 80 sh -c logger -pdaemon.notice -tddclient[6382] logger -pdaemon notice -tddclient[6382]

Solution: line 1600 containing

return pipecmd("logger -p$facility.$priority -t${program}\[$$\]", @_);

should be changed to

return pipecmd("logger -p\"$facility.$priority -t${program}\[$$]\"", @_);

Most probably it's a problem of busybox sh interpreter.