FOR THE TWO STEPHENS!
Use the following function in your script:
pppisup(){
[ "`/sbin/route -n|/bin/grep -E '^0.0.0.0.*ppp'`" ]
pppisup holds true if the link is up.
Easy eh? Pilfered it from someone's domail script.
Edward Dekkers (Director)
Triple D Computer Services Pty. Ltd.
Western Australia
P: (08) 9397-1040
F: (08) 9397-0548
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.
- Script for checking ppp connection Stephen M Lavelle
- Re: Script for checking ppp connection Stephen Hargrove
- Re: Script for checking ppp connection Edward Dekkers
- Re: Script for checking ppp connection Adahma
- Re: Script for checking ppp connection Mozilla
- Re: Script for checking ppp connection Anthony E. Greene
- Re: Script for checking ppp connection Robert Canary
- Re: Script for checking ppp connection Dave Ihnat
- Re: Script for checking ppp connection Hal Burgiss
- Re: Script for checking ppp connection Anthony E. Greene
