> I cna get the 'not active' part to work, but just can't figure out how
> to detect if ppp0 is up and running.
>
> Any hints/pointers will be most appreciated.
>
> Thanks,
>
> Merell
Hi Merrell, I see you have allready some answers but I use this:
pppisup(){
[ "`/sbin/route -n|/bin/grep -E '^0.0.0.0.*ppp'`" ]
return
}
Simply call things like - if pppisup etc. etc.
Works for me very nicely.
--
Edward Dekkers (Director)
Triple D Computer Services Pty. Ltd.
822 Rowley Road
Oakford W.A. 6121
+61 8 9397-1040
ABN: 33 635 238 024
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list