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}"
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