Script Help

Christoph linuxguy at ici.net
Thu Sep 2 21:29:27 EDT 1999


I must appologize.  After looking at my code for xplink, I realized that the 
routine that implements the 'ifconfig' loop is actually trying to determine
what the assigned IP address is.

To simply detect if the ppp link is up, I just look for the existence of
of the pppd pid file...

/var/run/ppp0.pid

Hope this helps....

+------------------------
| christoph
| linuxguy at ici.net
| http://home.ici.net/~linuxguy


-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list