Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 34343 Details for
Bug 55437
net script output is not pretty
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes dhcp problem
net.eth0.dchp.patch (text/plain), 888 bytes, created by
Roy Marples (RETIRED)
on 2004-06-28 11:47:43 UTC
(
hide
)
Description:
Fixes dhcp problem
Filename:
MIME Type:
Creator:
Roy Marples (RETIRED)
Created:
2004-06-28 11:47:43 UTC
Size:
888 bytes
patch
obsolete
>--- net.eth0 2004-06-28 19:41:58.312422704 +0100 >+++ net.eth0 2004-06-28 19:32:57.824589344 +0100 >@@ -434,7 +434,7 @@ > # fail, the routine should still return success to indicate that > # net.eth0 was successful > iface_start_ifconfig() { >- local iface=$1 i label >+ local iface=$1 i x label > > # Why bother having the aliases in a different section if they can be > # handled here? This covers inet6 addresses as well >@@ -459,8 +459,8 @@ > > if [[ $retval == 0 ]]; then > # DHCP succeeded, show address retrieved >- i=$(ifconfig ${1} | grep -m1 -o 'inet addr:[^ ]*' | cut -d: -f2) >- [[ -n ${i} ]] && einfo " ${iface} received address ${i}" >+ x=$(ifconfig ${1} | grep -m1 -o 'inet addr:[^ ]*' | cut -d: -f2) >+ [[ -n ${x} ]] && einfo " ${iface} received address ${x}" > > elif [[ -n "${ifconfig_fallback_IFACE[i]}" ]]; then > # DHCP failed, try ifconfig fallback
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 55437
:
34343
|
34344