Quote:
Originally posted by Ricky
Well I am not very used to linux but can you tell me wht the runlevel for??
|
I googled for you:
http://stalin.iodynamics.com/education/runlevel.html
Quote:
Also I have installed dhcpd from source ie. not from rpm.. so i think i have to something manualy to make dhcpd appear in services.
i start dhpcd by just typing dhcpd at console..
|
If you just want to get the freakin' app started at boot time, here is your approach. But note, as I said: it's not the most thorough, I still need to learn runlevels
Find the path of dhcpd. (
find / | grep -i "dhcpd") I'll use
/sbin/dhcpd as an example.
Now add this to the end of your
/etc/rc.local:
Code:
# wuck: launch dhcpd at boot time
/sbin/dhcpd &
by saying:
# echo '
see_above_code' >> /etc/rc.local
(or just use your favorite text editor and cut 'n paste ..)
I always add a comment to lines I add, because my
rc.local file is already stuffed with code from other people. That way I know what I added. Be sure to backup the file. You _can_ leave 'wuck', but you might as well change it
For future reference: as you might have seen,
/etc/rc.local is executed every time you boot, no matter what runlevel your system boots.
NOTE: I don't think dhcpd will appear in the services list.