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:
parent
de4aec9fbd
commit
1d64be1984
1 changed files with 3 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue