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

Re: ip-up question



On 22-Feb-99 Peter Ludwig wrote:
> 
> On Sat, 20 Feb 1999, Pollywog wrote:
> 
>> My /etc/ppp/ip-up does not appear to be working.  Am I correct in assuming
>> that in Debian, ip-up won't work unless it is placed in /etc/ppp/ip-up.d ?
>> I want to start fetchmail when I go online and I believe that is where my
>> script needs to be placed.
> 
> What I did to get fetchmail to run when I connected (I'm also using SLRN
> so I've got one for it as well, same theory applies).
> 
> I put a script into the ip-up.d directory called fetchmail (giving it read
> and execute access for all users) which contained a command line to run
> fetchmail (I set it up as a deamon).  Here's the script I use :-
> 
>#!/bin/sh
>#
># Fetchmail Start Up Script
>#
> su -l -c "fetchmail -d 300" khan
> 
>#
># End of Script

Thanks, I fixed my script by adding a "sleep 10s" to the top of the script.
Fetchmail works now.

--
Andrew


Reply to: