Can you share that script / process? That would be very helpful.
No problem. First, I created an executable script in /jffs/scripts/ called restart_wan.sh:
Bash:
#!/bin/sh
logger -t 'restart_wan' 'Restarting WAN...'
killall -USR1 udhcpc
sleep 10
service restart_wan
logger -t 'restart_wan' '... WAN restarted'
Then in my existing services-start script, I added the line:
Bash:
(sleep 20; /jffs/scripts/restart_wan.sh; /jffs/scripts/tailmon.sh -email) >/dev/null 2>&1 & # fix wan then reboot warning
Note if your don't use tailmon, delete the reference to that script.
Rung