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

This commit is contained in:
Matthew Veety 2014-02-14 22:05:25 -05:00
parent de4aec9fbd
commit 1d64be1984

View file

@ -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}