Michael Mansour wrote:
> The following is what is run daily in cron:
> 
> # cat /etc/cron.daily/slocate.cron
> #!/bin/sh
> . /etc/updatedb.conf
> [ "$DAILY_UPDATE" != "yes" ] && exit 0
> renice +19 -p $$ >/dev/null 2>&1
> /usr/bin/updatedb
> 
> I don't see any reason why you would want to run it during boot.


To have an up to date index of files.


> If you wish
> to manually run it at any time, just use:
> 
> # updatedb&



If I make the "$DAILY_UPDATE" = "yes" in the above, will it make updatedb running each 
time on boot?