On Fri, Jun 18, 1999 at 04:38:33PM +1000, Jeremy Lunn wrote:
> Hi,
>
> When I connect to the internet with /sbin/ifup, how can a run a script to do
> stuff like send qued mail?
>
> does /etc/ppp/ifup get run?
>
> thanks,
>
> --
> Jeremy Lunn
> Melbourne, Australia
> ICQ: 19255837
I put stuff like this in /etc/ppp/ip-up.
>From 'man pppd':
/etc/ppp/ip-up
A program or script which is executed when the link
is available for sending and receiving IP packets
(that is, IPCP has come up). It is executed with
the parameters
interface-name tty-device speed local-IP-address
remote-IP-address ipparam
Regards
tom
--
"Everybody is someone else's newbie" (Marilyn Manson, edited)
Thomas 'tom' Berger, [EMAIL PROTECTED] No spam, no UCE. 'Nuff said.
Get Answers! Visit Mandrake Answers on http://aolmfaq.tsx.org!