Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 37685 Details for
Bug 34484
[PATCH] sys-apps/ifplugd doesn't work with dhcp (net.eth0)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patches /etc/init.d/net.eth0 to use udhcpc
net.eth0.patch (text/plain), 1.20 KB, created by
Brian G. Peterson
on 2004-08-18 12:40:22 UTC
(
hide
)
Description:
patches /etc/init.d/net.eth0 to use udhcpc
Filename:
MIME Type:
Creator:
Brian G. Peterson
Created:
2004-08-18 12:40:22 UTC
Size:
1.20 KB
patch
obsolete
>--- net.eth0.ori 2004-08-18 13:47:33.562958776 -0500 >+++ net.eth0 2004-08-18 13:50:27.813468672 -0500 >@@ -320,7 +320,7 @@ > > # bool iface_stop_dhcp(char *iface) > # >-# Stop DHCP on an interface by calling dhcpcd -z >+# Stop DHCP on an interface by calling udhcpc -z > # > # Returns 0 (true) when there appears to be an DHCP lease, and we > # attempted to release it. This does not necessarily indicate that >@@ -329,13 +329,13 @@ > iface_stop_dhcp() { > local iface=$1 count > >- if ! /sbin/dhcpcd -z ${iface} &>${devnull}; then >+ if ! /sbin/udhcpc -z ${iface} &>${devnull}; then > return 1 > fi > > einfo " Releasing DHCP lease for ${iface}" > for ((count = 0; count < 9; count = count + 1)); do >- /sbin/dhcpcd -z ${iface} &>${devnull} || break >+ /sbin/udhcpc -z ${iface} &>${devnull} || break > sleep 1 > done > [[ ${count} -lt 9 ]] >@@ -375,7 +375,7 @@ > fi > > # Bring up DHCP for this interface (or alias) >- /sbin/dhcpcd ${dhcpcd_IFACE[i]} ${label} >+ /sbin/udhcpc ${dhcpcd_IFACE[i]} ${label} > eend $? > retval=$? > >@@ -468,7 +468,7 @@ > fi > > # Bring up DHCP for this interface (or alias) >- /sbin/dhcpcd ${dhcpcd_IFACE[i]} ${iface} >+ /sbin/udhcpc ${dhcpcd_IFACE[i]} ${iface} > eend $? > retval=$? >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34484
:
21341
|
30710
|
32079
|
32080
| 37685