X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fbootscripts%2Fifup;h=6af859a6d3ff9c1f9149309cff377ee2e6cb3cd0;hb=09e97cf36729cd6a72ed87f97b921c2d17086b2c;hp=dd2683bd31af44f97c562010e7590aa472e242f5;hpb=4764a3fcf7c824f580140f1226b6d0718f7cef9c;p=hvlinux.git diff --git a/stage2/bootscripts/ifup b/stage2/bootscripts/ifup index dd2683b..6af859a 100755 --- a/stage2/bootscripts/ifup +++ b/stage2/bootscripts/ifup @@ -37,7 +37,7 @@ bring_if_up() fi # Check if a cable is plugged for wired interface - if [ ! -d /sys/class/net/${DEVICE}/wireless ]; then + if echo "${DEVICE}" | grep -q "eth" ; then count=0 while cat /sys/class/net/${DEVICE}/carrier | grep -q "0"; do echo "Waiting for carrier to go up"