Summary: Using the LSB Bootscripts

Zachary Kotlarek zach at
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

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2746 bytes
Desc: not available
URL: <>

More information about the lfs-dev mailing list