Hello all,
Can any of you suggest the cleanest way for a shell script to test
whether the diald connection is up or down?
I can think of clumsy ways, such as writing a lock file in the ip-up
script and removing it in the ip-down script; then the script can check
for the presence of the lock file.
Or alternatively, I've studied the documentation on the fifo mechanism,
but it doesn't seem to have any sort of one-off "query" function. Or I
suppose I could write a monitoring program which constantly keeps track
of the connection status. But it seems like there must be a simpler,
cleaner way to just spot-check the connection status.
Any suggestions much appreciated!
Thanks,
- Joe
--
joseph morrison, president e-smith, inc. tel (613) 236-0743
[EMAIL PROTECTED] www.e-smith.net fax (613) 276-0065
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]