Hi!
I just found out that /jffs/scripts/wan-start is also run when the wan interface is stopped, e.g. by command 'halt'. I found out by letting this script email me a message when WAN starts (works great), but I also receive the email when I halt the router before power is turned off. A reboot, however, doesn't trigger the script. A minor thing, sure, but maybe there's still a chance to correct it.
Thank you!
I just found out that /jffs/scripts/wan-start is also run when the wan interface is stopped, e.g. by command 'halt'. I found out by letting this script email me a message when WAN starts (works great), but I also receive the email when I halt the router before power is turned off. A reboot, however, doesn't trigger the script. A minor thing, sure, but maybe there's still a chance to correct it.
