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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to