LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Running a particular program during boot (https://www.linuxquestions.org/questions/linux-newbie-8/running-a-particular-program-during-boot-305007/)

undemane 03-23-2005 06:02 AM

Running a particular program during boot
 
I need to run a client to log on to my internet server. Now I login as root and run

./crclient -u <username>

How do I run this automatically when the system is booting?

homey 03-23-2005 06:50 AM

You could put your command in /etc/rc.d/rc.local

undemane 03-23-2005 11:36 PM

have tried that, but it does not seem to work

bdox 03-24-2005 12:52 AM

of course...

./crclient -u <username>

won't work because you're using a relative path (./ = this directory). you must put the ABSOLUTE path in the /etc/rc.d/rc.local got it?

Hope this help...


All times are GMT -5. The time now is 08:21 AM.