Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 1998 09:18:37 -0500 (EST)
From:      Patrick Gardella <patrick@cre8tivegroup.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   PPP and post-connection scripts
Message-ID:  <XFMail.981210091837.patrick@cre8tivegroup.com>

next in thread | raw e-mail | index | archive | help
A few days ago, Brian Somers suggested the following to send the IP address of
the ppp connection to an email address.  What this does for me is send a
message that says "MYADDR".  This is from my ppp.linkup file:

MYADDR:
 !bg sh -c "echo MYADDR | mail patrick@cre8tivegroup.com"

I'm running FreeBSD 2.2.7-STABLE from November 17th.

Anyone know how to make this work, other than as I have in the past of writing
a script to grab the netstat -rn and mailing that?  I'd rather make it as
simple as possible!

Patrick

---
Patrick S. Gardella                    Director of Web Development 
The Creative Group    1-800-804-0783 ext 29     606-858-8029 (fax)    
http://www.cre8tivegroup.com                 PGP Key ID 0xEE2D47A9

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.981210091837.patrick>