LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   make a command run at startup? (https://www.linuxquestions.org/questions/linux-general-1/make-a-command-run-at-startup-229412/)

cheater1034 09-11-2004 03:41 PM

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?

ppuru 09-11-2004 11:01 PM

/etc/rc.local is the place you would put the commands you would want to run at startup.

XavierP 09-12-2004 05:51 AM

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


All times are GMT -5. The time now is 06:40 PM.