On Thu, Jan 27, 2000 at 02:29:51AM +0000, Joseph Morrison wrote:
> Hello all,
>
> Can any of you suggest the cleanest way for a shell script to test
> whether the diald connection is up or down?
As long as you're running on the machine that hosts diald, why not
just look at the output of ifconfig? It'll show you either sl0 or ppp0,
the former if the link is down, the latter if it is up.
Fred
--
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
"Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
heaven, but only he who does the will of my Father who is in heaven."
------------------------------ Matthew 7:21 (niv) -----------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]