cron would be better for this. Have cron run a script that
checks the state of the connection. If it's up, then run
serialmail. To make sure that if the serialmail is still
running that you don't start another use a flag or something
like /var/run/serialmail.pid.
If you really want to do this from ip-up.local, write a script
that does it, and put in in the background from ip-up. Then have
ip-down kill it when the connection goes down.
Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]