LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-11-2004, 04:41 PM   #1
cheater1034
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
make a command run at startup?


i made a script in /etc/init.d , using gentoo, called dhcp, i need it to run the command, dhcpcd. my command is

rc-update add dhcp default

it has a problem though, that says, run /sbin/depscan.sh, and doesn't do it, can someone please help me on how to get the simple command, dhcpcd to run at startup?
 
Old 09-12-2004, 12:01 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 47
/etc/rc.local is the place you would put the commands you would want to run at startup.
 
Old 09-12-2004, 06:51 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make xinetd run at startup on SuSE ??? cwolf78 Linux - Software 2 04-22-2005 06:13 PM
Run user command on Terminal startup coolfrog Linux - General 4 09-26-2004 10:08 AM
How can I run a command automatically at startup? luwigie Linux - General 8 08-26-2004 10:05 PM
making kde run a command at startup wfettich Linux - General 3 05-10-2004 04:13 PM
how to make/run startup scripts/commands ViN86 Slackware 3 04-24-2004 11:02 AM


All times are GMT -5. The time now is 07:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration