ifconfig(8) can take only one interface at a time.

This commit is contained in:
Pawel Jakub Dawidek 2008-10-30 20:24:25 +00:00
parent 7f33c7dd6f
commit 3239bc5923

View File

@ -141,7 +141,9 @@ network_common()
esac
echo "${_str} Network:${_ok}."
if [ -z "${rc_quiet}" ]; then
/sbin/ifconfig ${_ok}
for ifn in ${_ok}; do
/sbin/ifconfig ${ifn}
done
fi
fi