I have a wan-start script I use to alert me when my router has failed over to its backup WAN connection. Right now, that script just looks at the current wan IP (nvram get wan0_ipaddr) and does some logic to determine if the IP belongs to my primary link's IP or the backup link's IP... sort of hacky. Is there a nvram variable or other way to identify which WAN link is currently is use?