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.

Reply via email to