• SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Problems with switch to AT&T fiber

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
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top