On Thu, Jan 09, 2003 at 03:03:58PM +0530, Mario Michael da Costa wrote:

>Philip S Tellis [linux-list] <09/01/03 11:11 +0530>:
>> Only problem that I have with wvdial is that the only way to terminate 
>> it is by killing the process.  this kills pppd immediately, as a result 
>> of which, /etc/ppp/{ip-down,ip-down.local} aren't executed.
>
>i normally kill wvdial by just pressing CTRL-c in the terminal from
>where i run it. ip-down.local used to execute that way on mandrake 8.1
>beta which needed a command to be run everytime after i disconnected.

In /etc/ppp/ip-up.local you can add last line as

/usr/sbin/sendmail -q -v
/usr/bin/fetchmail .............
killall wvdial

Thus after sending and fetching mail connection will be disconnected.

Peace

--
Rajesh
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################
  
Sub : Viewing part of a file                         LOST #199

To see the last 10 lines of a long file, use "tail filename". 
To see the first 10 lines, use "head filename". 

####<[EMAIL PROTECTED]>########################################
:


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to