LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2005, 06:02 AM   #1
undemane
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
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?
 
Old 03-23-2005, 06:50 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
You could put your command in /etc/rc.d/rc.local
 
Old 03-23-2005, 11:36 PM   #3
undemane
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
have tried that, but it does not seem to work
 
Old 03-24-2005, 12:52 AM   #4
bdox
Member
 
Registered: Feb 2005
Location: SoL iii
Distribution: Mandriva 2007
Posts: 110

Rep: Reputation: 15
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...

Last edited by bdox; 03-24-2005 at 12:56 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
running a program from within QT kooshball Programming 4 06-14-2005 05:08 PM
Running a program rj686 Linux - Software 16 10-10-2004 07:19 PM
Program on boot-up won't stop running in a continuous loop... CanadianSlacker Slackware 6 01-14-2004 01:06 AM
Help with running a program at boot Tw0 Linux - Newbie 3 11-24-2003 04:53 PM
Running a new program bananaman Linux - Newbie 4 04-08-2003 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration