Hi,
I know I've seen a recipe for this somewhere sometime.
I want to let cron execute a script on regular intervals. This script
shall look upon the state of my serial port ppp0. If ppp0 is up, then
certain commands should be executed, otherwise not.
I know that I could use ip-up and ip-down to write some 'indicator file'
that I can let my new script read and interpret.
But...
I have seen a very elegant solution described (unfortunately I can't
find it back) where the script looked upon something in the system to
find out the state of ppp0. May eventually have been something under
/dev but I really don't remember.
Anyone understand what I'm talking about? ;-)
Anyone have any ideas of how to realize this?
Best regards
Gustav
--
pgp = Pretty Good Privacy.
To get my public pgp key, send an e-mail to: [EMAIL PROTECTED]
Visit my web site at http://www.schaffter.com
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.