[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Init scripts



On Sat, Jan 19, 2002 at 02:49:22PM -0500, Timothy C. Fanelli wrote:
| Hey All --
| 
| Ok, so I'm a debian-newbie... switching over on my laptop from Slackware,
| mainly because I want to start playing with the GNU/Hurd and I needed a
| cross compiler. I've been interested in learning Debian for a while, and
| since Debian has the cross compiler pre-packaged, I figured nows a good
| time :).
| 
| So here's my problem -- 
| 
| I like to have total control over whats starting up in my init scripts...
| specifically, i DO NOT want to be running inetd. Also, dhclient doesn't
| work, so I use dhcpdc instead, but I can't find where in the scripts
| dhclient is ever being called... 

dhclient works flawlessly for me.

| What i've figured out is that all the scripts reside in /etc/init.d and
| are symlinked to out of the /etc/rcX.d directories... What I can't figure
| out is which scripts startup things like inetd and dhclient etc etc...

inetd is started by /etc/rc2.d/S20inetd.  Networking is brought up by
/etc/rcS.d/S39ifupdown.  This runs 'ifup -a' which will configure all
interfaces tagged as "auto" in /etc/network/interfaces.  If one of
those interfaces is marked as "dhcp" then ifup will start your dhcp
client (dhclient, dhcpcd, or pump).

-D

-- 

Trust in the Lord with all your heart and lean not on your own
understanding; in all your ways acknowledge Him, and He will make your
paths straight.
        Proverbs 3:5-6



Reply to: