Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: bmeyer@cs.monash.edu.au
Subject: Re: Need help on bash scripting
Date: 2000/04/12	[thread overview]
Message-ID: <8d0us9$i24$1@wombat.cs.monash.edu.au> (raw)
In-Reply-To: 8cvq2r$5jp$1@nnrp1.deja.com

Neoklis <neoklis@my-deja.com> writes:

>I need a way of detecting the completion of the PPP connection by pppd
>before allowing the script to start Lynx, and also a way to re-try the
>connection if it fails for some reason (busy abort etc).

A relatively simple way is to just wait for a while, and then grep
through the output of "route" or "ifconfig", checking whether the
connection is up or not.

Bernie
-- 
The abdomen, the chest, and the brain will forever be shut from the
    intrusion of the wise and humane surgeon
Sir John Eric Ericksen
British surgeon, appointed Surgeon-Extraordinary to Queen Victoria



      parent reply	other threads:[~2000-04-12  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-11  4:00 Need help on bash scripting Neoklis
2000-04-11  4:00 ` Tony Hammitt
2000-04-12  4:00 ` bmeyer [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox