Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 9336 Details for
Bug 17378
baselayout: Better way of bringing down dhcpcd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Second try :(
dhcpcd.diff (text/plain), 705 bytes, created by
Wout Mertens (RETIRED)
on 2003-03-13 02:30:16 UTC
(
hide
)
Description:
Second try :(
Filename:
MIME Type:
Creator:
Wout Mertens (RETIRED)
Created:
2003-03-13 02:30:16 UTC
Size:
705 bytes
patch
obsolete
>--- net.eth0.orig 2003-03-13 07:50:15.000000000 +0000 >+++ net.eth0 2003-03-13 07:49:54.000000000 +0000 >@@ -144,18 +144,15 @@ > > if [ "$(eval echo \$\{iface_${IFACE}\})" = "dhcp" ] > then >- /sbin/dhcpcd -k ${IFACE} &>/dev/null >- >- # Give dhcpcd time to properly shutdown > local count=0 >- einfon " Waiting for dhcpcd to shutdown" >- while [ "${count}" -lt 5 ] >- do >- echo -n "." >+ while /sbin/dhcpcd -k ${IFACE} &>/dev/null && [ "${count}" -lt 9 ]; do >+ # Give dhcpcd time to properly shutdown > sleep 1 > count=$((count + 1)) > done >- echo "done" >+ if [ "${count}" -ge 9 ]; then >+ eerror "Timed out trying to stop dhcpcd" >+ fi > else > /sbin/ifconfig ${IFACE} down >/dev/null > fi
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 17378
:
9335
| 9336