Re: thread hijacking [was: shell script for bash]

2001-09-10 Thread Mike Pfleger
* Vineet Kumar ([EMAIL PROTECTED]) wrote: > You could just add a "sleep 10s" to the beginning of > /etc/init.d/fetchmail, and tune the 10 to whatever number is just large > enough so that sendmail will have started but just small enough so that > the delay isn't too obnoxious each time you boot. (S

Re: thread hijacking [was: shell script for bash]

2001-09-08 Thread Vineet Kumar
* Mike Pfleger ([EMAIL PROTECTED]) [010905 19:55]: > * Colin Watson ([EMAIL PROTECTED]) wrote: > > > Give it a later number in /etc/rc?.d (probably /etc/rc2.d) than the > > sendmail init script. They're started in sequence by /etc/init.d/rc. > > Hey Colin. > > Yeah, that was my first thought. I

Re: thread hijacking [was: shell script for bash]

2001-09-05 Thread Mike Pfleger
* Colin Watson ([EMAIL PROTECTED]) wrote: > Give it a later number in /etc/rc?.d (probably /etc/rc2.d) than the > sendmail init script. They're started in sequence by /etc/init.d/rc. Hey Colin. Yeah, that was my first thought. It was already S99fetchmail in the rc2.d and rc3.d directories. The

Re: thread hijacking [was: shell script for bash]

2001-09-05 Thread Colin Watson
On Wed, Sep 05, 2001 at 10:36:48AM -0700, Mike Pfleger wrote: > Yup; I just hijacked another thread, but my question is related. If I > want to have system-wide fetchmail started with the usual script in: > /etc/init.d/ > but have it wait to make sure that sendmail is actually running before

thread hijacking [was: shell script for bash]

2001-09-05 Thread Mike Pfleger
* ktb ([EMAIL PROTECTED]) wrote: > "sleep" is what your looking for. "sleep 10s" to wait 10 seconds. > > Take a look at the fetchmail man page. Fetchmail has several exit codes so > you can write your script to say, 'wait 15m when your isp doesn't respond > before trying again' and other fun