From: Warren Togami Date: Mon, 8 Jun 2009 21:18:01 +0000 (-0400) Subject: Write DHCP lease file, dcbw wants it for NetworkManager to take over management of... X-Git-Tag: 0.1~75 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=13118037706f0f4bbc16941daf5dcc59d1e5fffe;p=thirdparty%2Fdracut.git Write DHCP lease file, dcbw wants it for NetworkManager to take over management of the lease post-netboot. --- diff --git a/modules.d/40network/ifup b/modules.d/40network/ifup index e347da56e..de459c32f 100755 --- a/modules.d/40network/ifup +++ b/modules.d/40network/ifup @@ -70,7 +70,7 @@ do_dhcp() { # /sbin/dhclient-script will mark the netif up and generate the online # event for nfsroot # XXX add -V vendor class and option parsing per kernel - dhclient -1 -q -R ${reqs} -pf /tmp/dhclient.$netif.pid $netif + dhclient -1 -q -R ${reqs} -pf /tmp/dhclient.$netif.pid -lf /tmp/net.$netif.lease $netif } ip_to_var() {