I didnt get a ton of time to mess with this, but this does not make my secondary hot. I still have to manually do a "service "restart_wan_if 1"
Code:
if [[ "$(nvram get $(echo $WANPREFIXES | awk '{print $2}')_enable)" == "1" ]] >/dev/null;then
echo -e "${YELLOW}${0##*/} - Uninstall: Restarting interface $(echo $WANPREFIXES | awk '{print $2}')${NOCOLOR}"
logger -t "${0##*/}" "Uninstall - Restarting interface $(echo $WANPREFIXES | awk '{print $2}')"
nvram set "$(echo $WANPREFIXES | awk '{print $2}')"_state_t=0
service "restart_wan_if 1" &
echo -e "${GREEN}${0##*/} - Uninstall: Restarted interface $(echo $WANPREFIXES | awk '{print $2}')${NOCOLOR}"
logger -t "${0##*/}" "Uninstall - Restarted interface $(echo $WANPREFIXES | awk '{print $2}')"
fi
With 1.4.2 or 1.4.3 if it switches over to secondary, it will show connected for about 10 seconds, then goes to disconnected. And just sits there, internet doesnt work or does it switch back to primary. The logs really dont show anything. 1.4.1 works fine after secondary is hot.. With that being said, think im going to factory reset later, just to make sure things are as they should be.