Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: cURIOUSgEORGE on June 17, 2011, 09:56:47 PM

Title: dhcpcd on start up (Solved)
Post by: cURIOUSgEORGE on June 17, 2011, 09:56:47 PM
 Can anybody explain to me how I can get dhcpcd to start when the system starts?I have it placed in onboot but it does not start unless I open a terminal and issue the command sudo dhcpcd and that's a pain in the ass to have to do that everytime. Do I have too write a script in order to get dhcpcd to automatically start when the system starts and if soo then how do I write it? Example please...

Thanks, George.




EDIT: Nevermind - It was a stupid question! lol -----------------------> ANSWER is to put dhcpcd into bootlocal.sh using the command sudo dhcpcd.
Title: Re: dhcpcd on start up (Solved)
Post by: gerald_clark on June 20, 2011, 12:38:01 PM
Do not use sudo in bootlocal.sh, as it is already running as root.
Title: Re: dhcpcd on start up (Solved)
Post by: cURIOUSgEORGE on June 20, 2011, 04:14:47 PM
 Thank you Gerald. Yesterday I learned how to tie my shoes and now this! I had no idea, so thank ya and will fix that now.