From: Alexandre P. N. <al...@om...> - 2006-11-14 17:55:21
|
Addison "Nik" Martin escreveu: >I saw in another message this bit of script, which waits for the cf to >become available before continuing: > >while ! [ -f /proc/ide/ide0/hda/media ] >do > sleep 1 >done > >is there a comparable method to wait for eth0 to be available? My >rc.local tries to set the clock using ntpdate, but it frequently >(usually) fails because eth1 isn't quite ready yet. I'm not sure what >files can be tested for while waiting for the interface to be fully >available. > >Nik > > There is, but I didn't get the time to write one. I did this one instead (see the attached file). - Alexandre |