stupid me
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 9 Mar 2015 09:22:05 +0000 (10:22 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 9 Mar 2015 09:22:05 +0000 (10:22 +0100)
initscripts/pl_netinit

index d795033..071873c 100755 (executable)
@@ -314,7 +314,7 @@ while true; do
     fi
     echo $(date "+%H:%M:%S") " pl_netinit: waiting for device $ETH_DEVICE,${COUNTER}s/${ALLOW}s"
     COUNTER=$(($COUNTER+1))
     fi
     echo $(date "+%H:%M:%S") " pl_netinit: waiting for device $ETH_DEVICE,${COUNTER}s/${ALLOW}s"
     COUNTER=$(($COUNTER+1))
-    [ $COUNTER -ge 0 ] && net_init_failed
+    [ $COUNTER -ge $ALLOW ] && net_init_failed
     sleep 1
 done
 
     sleep 1
 done