Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 104555 Details for
Bug 158797
sys-freebsd/freebsd-baselayout-20060624 dhcient sed error dhclient_edit_config
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
diff -ruN correcting sed syntax
dhclient.diff (text/plain), 841 bytes, created by
catfish
on 2006-12-21 22:21:34 UTC
(
hide
)
Description:
diff -ruN correcting sed syntax
Filename:
MIME Type:
Creator:
catfish
Created:
2006-12-21 22:21:34 UTC
Size:
841 bytes
patch
obsolete
>--- dhclient 2006-12-21 22:55:52 -0700 >+++ dhclient.fixed 2006-12-21 22:54:16 -0700 >@@ -124,9 +124,9 @@ > if ${edit} && [[ -e ${cffile} && ${d} != *" nosendhost "* ]] ; then > local hname=$( hostname ) > if [[ ${hname} != "(none)" && ${hname} != "localhost" ]]; then >- sed -i '/^[ \t]*send[ \t]*host-name[ \t]*/d' "${cffile}" >+ sed -i "" '/^[ \t]*send[ \t]*host-name[ \t]*/d' "${cffile}" > if [[ -s ${cffile} ]]; then >- sed -i '1 isend host-name "'"${hname}"'";' "${cffile}" >+ sed -i "" '1 isend host-name "'"${hname}"'";' "${cffile}" > else > echo "send host-name \"${hname}\";" > "${cffile}" > 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 158797
: 104555