[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fetchmail not exiting in ip-down




dm-debian-user@empire.net.au (Damon Muller) writes:

> On Fri, Sep 03, 1999 at 02:18:41AM -0000, Pollywog was heard to state:
> > 
> > On 03-Sep-99 Damon Muller wrote:
> > > I, like many of us here prolly, use fetchmail to grab my mail when I'm
> > > online. As such, I've set up scripts in ip-up.d to start up fetchmail as
> > > me to get my mail, and another in ip-down.d to stop fetchmail again when
> > > I log off.
> > 
> > I put 'killall fetchmail' in my /etc/diald/ip-down and have done this with
> > PPP's ip-down also and it has worked for me.
> 
> Actually, I've recently worked out that another of my files in ip-down.d
> doesn't run either. It's just a very small script to play a sound file
> to let me know if the modem has disconnected when I don't want it to. It
> looks like this:
> 
> #!/bin/sh
> /usr/bin/bplay /dos/c/windows/media/bleep.wav
> 
> Pretty simple, and works find when I run it manually, but it doesn't
> seem to run when the PPP connection goes down.


Perhaps the script "/etc/ppp/ip-down" is missing one or more of the
following important lines.

 PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
 export PATH
 run-parts /etc/ppp/ip-down.d


-- 
*********************** Running Debian Linux ***********************
*   For God so loved the world that He gave his only begotten Son,  *
*   that whoever believes in Him should not perish...    John 3:16  *
* W. Paul Mills              *  Topeka, Kansas, U.S.A.              *
* EMAIL= Paul@Mills-USA.com  *  WWW= http://Mills-USA.com/          *
* Bill, I was there several years ago, why would I want to go back? *
************* pgp public key on keyservers everywhere? *************/
-- 


Reply to: