Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 266313 Details for
Bug 359311
sys-apps/openrc-0.7.0 uses bashism in net/bonding.sh
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix bashism with POSIX-compliant code
openrc-0.7.0-bashism.patch (text/plain), 675 bytes, created by
Raffaello D. Di Napoli
on 2011-03-17 23:42:35 UTC
(
hide
)
Description:
Fix bashism with POSIX-compliant code
Filename:
MIME Type:
Creator:
Raffaello D. Di Napoli
Created:
2011-03-17 23:42:35 UTC
Size:
675 bytes
patch
obsolete
>From: Raffaello D. Di Napoli <fastijum@gmail.com> >Gentoo-Bug-URL: http://bugs.gentoo.org/359311 > >Fix ${var/find/subst} with POSIX-compliant replacement. > >--- openrc-0.7.0/net/bonding.sh 2011-01-12 21:14:17.000000000 -0500 >+++ openrc-0.7.0/net/bonding.sh 2011-03-17 17:18:36.510000632 -0400 >@@ -100,7 +100,7 @@ bonding_pre_start() > if [ -n "${primary}" ]; then > echo "+${primary}" >/sys/class/net/"${IFACE}"/bonding/slaves > echo "${primary}" >/sys/class/net/"${IFACE}"/bonding/primary >- slaves="${slaves/${primary}/}" >+ slaves="${slaves%%${primary}*}${slaves#*${primary}}" > fi > for s in ${slaves}; do > echo "+${s}" >/sys/class/net/"${IFACE}"/bonding/slaves
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 359311
: 266313 |
266315