On Mon, Dec 03, 2007 at 07:17:40AM +0100, Norbert Preining wrote: > See bug nr #????, I changed /etc/cron.daily/locate as follows > --- /etc/cron.daily/locate.orig 2007-12-03 07:07:44.000000000 +0100 > +++ /etc/cron.daily/locate 2007-12-03 07:09:39.000000000 +0100 > @@ -33,6 +33,9 @@ > if [ -r /etc/updatedb.findutils.cron.local ] ; then > . /etc/updatedb.findutils.cron.local > fi > +if [ "$DISABLE_CRONJOB" = 1 ] ; then > + exit 0 > +fi > export FINDOPTIONS PRUNEFS PRUNEPATHS NETPATHS LOCALUSER NICE > > if getent passwd $LOCALUSER > /dev/null ; then > > and echo-ed DISABLE_CRONJOB=1 >> /etc/updatedb.findutils.cron.local
yep, that does it. however, the debian standard would be to use /etc/default/locate for that. > Again, sorry for reopening, but I didn't get your explanation, and > thanks for the second time explanation. ok, no problem. i'm sorry i got a bit cranky...i assumed you ignored my explanation. craig -- craig sanders <[EMAIL PROTECTED]> Dijkstra probably hates me. -- Linus Torvalds, in kernel/sched.c -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]