I created scripts called dial and hangup, and used them to call wvdial.
they also start and stop fetchmail, and the firewall.

I also have: killall wvdial in ip-down.local (and my firewall restart) just
to make sure..

rgds

Frank


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kipling Cooper
Sent: Monday, 18 February 2002 10:38 PM
To: [EMAIL PROTECTED]
Subject: [newbie] ip-down.local


This should be so easy, I cannot figure out why it is not working!  I
want to stop the fetchmail daemon when I am not connected to my ISP, fo
I made an 'ip-down.local' as follows;

#!/bin/sh /usr/bin/fetchmail -quit

the file is:

-rwxr-xr-x    1 root     root           35 Feb 18 09:05
/etc/ppp/ip-down.local*

but whenever I stop wvdial, the fethcmail daemon does not quit, unless I
do it manually.  Can anyone please help?

--
Thank you!
Kipling





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to