LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can I update db on boot??? (http://www.linuxquestions.org/questions/linux-newbie-8/can-i-update-db-on-boot-184777/)

clearblueskies 05-23-2004 07:56 AM

can I update db on boot???
 
Is it possible to set up a bootloader giving me a choice to updatedb on boot?

I have fedora c1 at the mo with grub bootldr

b0uncer 05-23-2004 08:24 AM

if you wish to do updatedb when your system starts, why not try to add it to your rc.local file (for example); that runs it every time your system boots. so edit your /etc/rc.local file and add there a new line that simply reads "updatedb" without quotes..that works, assuming that updatedb command is in PATH.

clearblueskies 05-23-2004 11:06 AM

Hey thanx .
Will give it a go now .


All times are GMT -5. The time now is 09:13 AM.