Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 255055 Details for
Bug 346365
sys-apps/openrc: remove deprecated vconfig depend for vlan management
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
firest vconfig removing
remove-vconfig.patch (text/plain), 752 bytes, created by
Guillaume Castagnino
on 2010-11-21 19:20:55 UTC
(
hide
)
Description:
firest vconfig removing
Filename:
MIME Type:
Creator:
Guillaume Castagnino
Created:
2010-11-21 19:20:55 UTC
Size:
752 bytes
patch
obsolete
>diff --git a/net/vlan.sh b/net/vlan.sh >index c245051..7c69c36 100644 >--- a/net/vlan.sh >+++ b/net/vlan.sh >@@ -4,6 +4,7 @@ > vlan_depend() > { > program /sbin/vconfig >+ program ip > after interface > before dhcp > } >@@ -75,7 +76,7 @@ vlan_post_start() > local vlan= e= s= > for vlan in ${vlans}; do > einfo "Adding VLAN ${vlan} to ${IFACE}" >- e="$(vconfig add "${IFACE}" "${vlan}" 2>&1 1>/dev/null)" >+ e="$(ip link add link "${IFACE}" name "${IFACE}.${vlan}" type vlan id "${vlan}" 2>&1 1>/dev/null)" > if [ -n "${e}" ]; then > eend 1 "${e}" > continue >@@ -110,7 +111,7 @@ vlan_post_stop() > stop > ) && { > mark_service_stopped "net.${vlan}" >- vconfig rem "${vlan}" >/dev/null >+ ip link delete "${vlan}" type vlan >/dev/null > } > 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 346365
:
255055
|
256956