hard to find info about init

MJang mike at mommabears.com
Wed Nov 12 05:59:38 UTC 2008


On Tue, 2008-11-11 at 21:41 -0800, jim wrote:
> thank you, mike, 
>    that helps. i've looked at the /etc/event.d/ 
> files and found that none of them contain the 
> string dhcp or dhclient 
> # grep -i dhcp /etc/event.d/* 
> # grep -i dhclient /etc/event.d/* 

Dear Jim, 

If you're looking for how network addresses are assigned, that's a
different subject. It's governed by the /etc/init.d/networking script,
as started by /etc/rcS.d/, based on the /etc/event.d/rcS script. 

It doesn't get to a DHCP client until it reads the related configuration
file, /etc/network/interfaces, I think (based on memory) via the ifup
command.

Good luck,
Mike





More information about the ubuntu-server mailing list