mkinitrd does this after dhclient, before switchroot:
cp /var/lib/dhclient/dhclient.leases /sysroot/dev/.dhclient-$dev.leases
/etc/sysconfig/network-scripts/ifup-eth contains:
# copy any lease obtained by the initrd
if [ -f /dev/.dhclient-${DEVICE}.leases ] ; then
mv -f /dev/.dhclient-${DEVICE}.leases
/var/lib/dhclient/dhclient-${DEVICE}.leases
[ -x /sbin/restorecon ] && restorecon /var/lib/dhclient/dhclient-${DEVICE}.leases
> /dev/null 2>&1
fi
I personally have never needed this, but some networks might need dhclient to
refresh the lease after bootup?
Implementing this would be Red Hat specific, and I'm not sure how valuable it
is. Any opinions?
Warren Togami
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html