Use default IFS here
This commit is contained in:
parent
9d1c1b66e5
commit
feed4b4c90
@ -54,9 +54,7 @@ bridge_pre_start() {
|
||||
einfo "Adding ports to ${IFACE}"
|
||||
eindent
|
||||
|
||||
local IFS="$__IFS"
|
||||
for x in ${ports}; do
|
||||
unset IFS
|
||||
ebegin "${x}"
|
||||
ifconfig "${x}" promisc up
|
||||
if ! brctl addif "${IFACE}" "${x}" ; then
|
||||
@ -66,7 +64,6 @@ bridge_pre_start() {
|
||||
fi
|
||||
eend 0
|
||||
done
|
||||
unset IFS
|
||||
eoutdent
|
||||
fi
|
||||
) || return 1
|
||||
|
Loading…
Reference in New Issue
Block a user