From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a0f06d8c338f37ae X-Google-Attributes: gid111c93,public From: bmeyer@cs.monash.edu.au Subject: Re: Need help on bash scripting Date: 2000/04/12 Message-ID: <8d0us9$i24$1@wombat.cs.monash.edu.au>#1/1 X-Deja-AN: 609964229 Sender: bmeyer@bruce.cs.monash.edu.au References: <8cvq2r$5jp$1@nnrp1.deja.com> Organization: This is innd taking over... NNTP-Posting-Date: Wed, 12 Apr 2000 15:06:54 EST Reply-To: bmeyer@cs.monash.edu.au Newsgroups: comp.os.linux.alpha Neoklis 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