Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 359311 | Differences between
and this patch

Collapse All | Expand All

(-)openrc-0.7.0/net/bonding.sh (-1 / +1 lines)
Lines 100-106 bonding_pre_start() Link Here
100
		if [ -n "${primary}" ]; then
100
		if [ -n "${primary}" ]; then
101
			echo "+${primary}" >/sys/class/net/"${IFACE}"/bonding/slaves
101
			echo "+${primary}" >/sys/class/net/"${IFACE}"/bonding/slaves
102
			echo "${primary}" >/sys/class/net/"${IFACE}"/bonding/primary
102
			echo "${primary}" >/sys/class/net/"${IFACE}"/bonding/primary
103
			slaves="${slaves/${primary}/}"
103
			slaves="${slaves%%${primary}*}${slaves#*${primary}}"
104
		fi
104
		fi
105
		for s in ${slaves}; do
105
		for s in ${slaves}; do
106
			echo "+${s}" >/sys/class/net/"${IFACE}"/bonding/slaves
106
			echo "+${s}" >/sys/class/net/"${IFACE}"/bonding/slaves

Return to bug 359311