]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Write DHCP lease file, dcbw wants it for NetworkManager to take over management of...
authorWarren Togami <wtogami@redhat.com>
Mon, 8 Jun 2009 21:18:01 +0000 (17:18 -0400)
committerWarren Togami <wtogami@redhat.com>
Mon, 8 Jun 2009 21:18:01 +0000 (17:18 -0400)
modules.d/40network/ifup

index e347da56ee765bef5be68e2e960e29683abec24b..de459c32f60c38112cd0169ddf2d445d9725358a 100755 (executable)
@@ -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() {