nvram get wan_gateway | grep -q '^87\.217\.210' while [ $? != 0 ] ; do led white on sleep 1 nvram get wan_ipaddr | grep -q '^87\.217\.210' while [ $? != 0 ] ; do led white off led amb on done done led amb off led white off