git: 9front

Download patch

ref: 19b3a26aa85e2f1f1a8134ccd1963b9b89e59e53
parent: 6766839abc29e484d469d5f90ce3be6a549822eb
author: Matthew Veety <mveety@gmail.com>
date: Fri Feb 14 17:05:25 EST 2014

added in a way to make net.rc wait for the network hardware to come up before running ip/ipconfig. This fixes the issue with the Raspberry Pi where ip/ipconfig tried running prior to /net/etherU3 exists

--- a/sys/src/9/boot/net.rc
+++ b/sys/src/9/boot/net.rc
@@ -1,6 +1,9 @@
 #!/bin/rc
 
 fn confignet{
+	if(~ $#netwait 1)
+		sleep $netwait
+
 	must ip/ipconfig -p $*
 	if(~ $#fs 0)
 		fs=`{awk -F'=' '/fs=/{print $2; exit}' /net/ndb}
--