/[vps]/baselayout-vserver/branches/baselayout-1_12/net-scripts/net.modules.d/bridge
Gentoo

Diff of /baselayout-vserver/branches/baselayout-1_12/net-scripts/net.modules.d/bridge

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 205 Revision 206
141 if [[ -n ${ports} ]]; then 141 if [[ -n ${ports} ]]; then
142 einfo "Adding ports to ${iface}" 142 einfo "Adding ports to ${iface}"
143 eindent 143 eindent
144 144
145 for i in ${ports}; do 145 for i in ${ports}; do
146 interface_exists "${i}" && continue 146 interface_exists "${i}" true || return 1
147 eerror "interface ${i} does not exist"
148 return 1
149 done 147 done
150 148
151 for i in ${ports}; do 149 for i in ${ports}; do
152 ebegin "${i}" 150 ebegin "${i}"
153 bridge_add_port "${iface}" "${i}" 151 bridge_add_port "${iface}" "${i}"

Legend:
Removed from v.205  
changed lines
  Added in v.206

  ViewVC Help
Powered by ViewVC 1.1.20