How about
mailx -s "PPP ON" jouser << EOF
PPP is now up
EOF
I just it all really depends on how you want to be notified. mail is ok.
You could also use wall or write.
#Thanks,
#Matt Smith
#==================
#[EMAIL PROTECTED]
>>> <[EMAIL PROTECTED]> 05/04 2:36 PM >>>
Can I make a ppp-on script tell me when it's connected to Internet. Now I have
to guess and enter route. Be inspired and tell me something that's very
complicated because otherwise I'll feel stupid for not having figured it out
myself.
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ZOKI, Images
Creation d'images & traitement numerique
Image creation & digital tweaking
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
Where do you want to go tomorrow? Maybe to your local shop to buy Linux!!?
%% Fin de message / End of message %%
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.