Summary: Using the LSB Bootscripts

Zachary Kotlarek zach at kotlarek.com
Sat May 14 22:11:21 PDT 2011


On May 14, 2011, at 11:36 PM, DJ Lucas wrote:

> I'll need to setup both DHCP clients to test functionality for this, 
> which is why I didn't just do it tonight. The problem I want to avoid is 
> if we do a flush, but the client daemon is still running, come 
> expiration, the client daemon might try to reconfigure the device...even 
> if it means adding dhcp logic in the lfs scripts (or replacing them in 
> BLFS).


Could we just do this in ifdown:

	if [ -x /lib/network-services/dhcp ]; then
		/lib/network-services/dhcp $interface down
	fi

and assume that whatever DHCP client is installed (if any) provides a script appropriate to handle the interface shutdown?

	Zach

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2746 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20110515/1ee0586d/attachment.bin>


More information about the lfs-dev mailing list