#!/bin/sh

WAN=eth1

mii-tool $WAN | grep -i "link ok" 1>/dev/null 2>/dev/null
