Script Help

Derek Martin dmartin at LanCity.COM
Thu Sep 2 14:50:45 EDT 1999


On Thu, 2 Sep 1999, Raymond Cloutier wrote:

> I think that will work (I had been cluelessly playing with the wait command
> and had no luck.)  I won't have testing access to the machine until next
> Tuesday, but I'll give it a try and let you know.  
> 
> Thanks for your help.

I was going to suggest a semi-elaborate solution using ping, but you can
probably just assume that your connection is up after 60 seconds... if it
isn't, it probably isn't going to be up.  so do a

  sleep 60

and then check the status of ppp0.

-- 
Derek D. Martin   |  UNIX System Administrator
derek at netria.com  |  dmartin at lancity.com

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list