Hi, * Jan De Luyck <[EMAIL PROTECTED]> [2005-07-30 15:00]: > On Saturday 30 July 2005 14:07, Nico Golde wrote: > > so why you are not disabling the init script of fetchmail? > > Why? Because I think it's a regression: these errors were _not_ present with > older version of the fetchmail package, it started somewhere around a month > ago, but I haven't gotten round to filing a bug about it. > > > i don't think it is a bug. this message is for poeple who > > want to use the init script (normally for system wide > > fetchmails) and this doesn't work if there is no system wide > > configuration. so you have to disable it simply if you don't > > want to use this. Point me if I missed something. > > It's a regression, and a simple > > if [ ! -e /etc/fetchmailrc ]; then > exit 0 > fi > > solves the problem. I mean, if I remove the init script, I have to keep on > removing it every single time I upgrade the fetchmail package.. seems a > _whole_ lot easier just to build in a simple check. IIRC, there are packages > in Debian that do just that.
No, don't remove it, rename Sxxfetchmail to Kxxfetchmail. if [ "$1" = "start" ]; then if [ ! -r $CONFFILE ] ; then echo "$CONFFILE not found." echo "can not start fetchmail daemon..." exit 0 fi fi is the code we use and that makes sence. please rename your init script link like it is standard in systemV and close the bug. regards nico -- Nico Golde - JAB: [EMAIL PROTECTED] | GPG: 0x73647CFF http://www.ngolde.de | http://www.muttng.org | http://grml.org VIM has two modes - the one in which it beeps and the one in which it doesn't -- encrypted mail preferred
pgpkDHGhFt1xX.pgp
Description: PGP signature