Use default IFS here

This commit is contained in:
Roy Marples 2007-10-30 13:17:27 +00:00
parent 9d1c1b66e5
commit feed4b4c90

View File

@ -54,9 +54,7 @@ bridge_pre_start() {
einfo "Adding ports to ${IFACE}" einfo "Adding ports to ${IFACE}"
eindent eindent
local IFS="$__IFS"
for x in ${ports}; do for x in ${ports}; do
unset IFS
ebegin "${x}" ebegin "${x}"
ifconfig "${x}" promisc up ifconfig "${x}" promisc up
if ! brctl addif "${IFACE}" "${x}" ; then if ! brctl addif "${IFACE}" "${x}" ; then
@ -66,7 +64,6 @@ bridge_pre_start() {
fi fi
eend 0 eend 0
done done
unset IFS
eoutdent eoutdent
fi fi
) || return 1 ) || return 1