Iam Singho
Occasional Visitor
Still the same problem. Where are these extra logs stored (Not in /tmp/var/log or /jffs/scripts or /jffs) .
Syslog still shows :
Syslog still shows :
Code:
Mar 9 00:14:12 custom script: Running /jffs/scripts/ddns-start (args: xxxx)
Mar 9 00:14:14 ddns: Custom ddns update failed
Mar 9 00:14:14 admin: DDNS updated 0
Mar 9 00:14:41 watchdog: start ddns.
Mar 9 00:14:41 rc_service: watchdog 585:notify_rc start_ddns
Mar 9 00:14:41 custom script: Running /jffs/scripts/ddns-start (args: x.x.x.x)
Mar 9 00:14:43 ddns: Custom ddns update failed
Mar 9 00:14:43 admin: DDNS updated 0
Try inserting logging entries right after both ddns_custom_updated calls to see if it's an error code returned by wget that's causing it. Something like this:
Code:#!/bin/sh wget -q http://freedns.afraid.org/dynamic/update.php?<secret_code> if [ $? -eq 0 ]; then /sbin/ddns_custom_updated 1 logger "DDNS updated 1" else /sbin/ddns_custom_updated 0 logger "DDNS updated 0" fi
That will confirm if the issue is the return code coming from wget. Maybe that update URL returns an error code if you try to update your DDNS too often (which DDNS providers call "abusive updates").