LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03: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-11-2004, 11:01 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
/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
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:49 AM.

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