Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 09-11-2004, 03:41 PM   #1
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/, and doesn't do it, can someone please help me on how to get the simple command, dhcpcd to run at startup?
Old 09-11-2004, 11:01 PM   #2
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 48
/etc/rc.local is the place you would put the commands you would want to run at startup.
Old 09-12-2004, 05:51 AM   #3
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,191
Blog Entries: 4

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


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 05:13 PM
Run user command on Terminal startup coolfrog Linux - General 4 09-26-2004 09:08 AM
How can I run a command automatically at startup? luwigie Linux - General 8 08-26-2004 09:05 PM
making kde run a command at startup wfettich Linux - General 3 05-10-2004 03:13 PM
how to make/run startup scripts/commands ViN86 Slackware 3 04-24-2004 10:02 AM

All times are GMT -5. The time now is 05:08 PM.

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