From owner-freebsd-questions Mon Nov 30 06:14:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA00238 for freebsd-questions-outgoing; Mon, 30 Nov 1998 06:14:12 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from the-twist.crosslink.net (the-twist.crosslink.net [206.246.124.74]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA00233 for ; Mon, 30 Nov 1998 06:14:11 -0800 (PST) (envelope-from sgregory@crosslink.net) Received: (qmail 13505 invoked from network); 30 Nov 1998 14:14:00 -0000 Received: from unknown (HELO crosslink.net) (192.190.177.149) by the-twist.crosslink.net with SMTP; 30 Nov 1998 14:14:00 -0000 Message-ID: <3662A825.61E822A6@crosslink.net> Date: Mon, 30 Nov 1998 09:13:57 -0500 From: Scott X-Mailer: Mozilla 4.07 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Running a script after connecting with ppp Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I would like to run a script (more specifically, I would like to send my IP address to a mail account (ifconfig -a | mail user - would suffice)) whenever my box connects to my provider. I thought I had seen info on this in the past but I cannot find it now. Any info on how to do this would be appreciated. Thanks, Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message