Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 149415 Details for
Bug 198083
app-misc/livecd-tools-1.0.35-r1: dhcp broadcasting is no-op
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
autoconfig.patch (for livecd-tools 1.0.39)
autoconfig.patch (text/plain), 690 bytes, created by
Paweł Hajdan, Jr. (RETIRED)
on 2008-04-11 16:57:58 UTC
(
hide
)
Description:
autoconfig.patch (for livecd-tools 1.0.39)
Filename:
MIME Type:
Creator:
Paweł Hajdan, Jr. (RETIRED)
Created:
2008-04-11 16:57:58 UTC
Size:
690 bytes
patch
obsolete
>--- /etc/init.d/autoconfig.orig 2008-04-11 18:47:12.000000000 +0200 >+++ /etc/init.d/autoconfig 2008-04-11 18:48:05.000000000 +0200 >@@ -386,14 +386,14 @@ > if [ "${DHCP}" = "yes" ] > then > einfo "Network device ${HILITE}${nics}${NORMAL} detected, DHCP broadcasting for IP ..." >- if [ -f /var/run/dhcpcd-${nics}.pid ] >+ if [ -z "$(/sbin/ifconfig ${nics} | grep 'inet addr')" ] > then >- if [ -z "$(/sbin/ifconfig ${nics} | grep 'inet addr')" ] >+ if [ -f /var/run/dhcpcd-${nics}.pid ] > then > kill $(cat /var/run/dhcpcd-${nics}.pid) > sleep 2 >- dhcpcd -n -h $(hostname) ${nics} > fi >+ dhcpcd -n -h $(hostname) ${nics} > fi > fi > done
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 198083
: 149415