/scripts/alcasar-watchdog.sh |
---|
62,7 → 62,7 |
fi |
# EXTIF testing |
LAN_DOWN="0" |
if [ "`/usr/sbin/ethtool $EXTIF|grep Link|cut -d' ' -f3`" != "yes" ] |
if [ "`/usr/sbin/ethtool $EXTIF|grep Link|cut -d' ' -f3`" != "yes" ] && [ "`/sbin/mii-tool $EXTIF | grep -i link | awk '{print $NF}'`" != "ok" ] |
then |
LAN_DOWN="1" |
fi |