summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2008-10-30 20:24:25 +0000
committerpjd <pjd@FreeBSD.org>2008-10-30 20:24:25 +0000
commit1893f5dd32563424602a59881645e7dc8bd57bec (patch)
treead24e7afbfff2d0505f441f05d2d21b2d0ae2882 /etc
parent8799893942bb6a1f9b0c146d762b16f3455444cb (diff)
downloadFreeBSD-src-1893f5dd32563424602a59881645e7dc8bd57bec.zip
FreeBSD-src-1893f5dd32563424602a59881645e7dc8bd57bec.tar.gz
ifconfig(8) can take only one interface at a time.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/netif4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.d/netif b/etc/rc.d/netif
index 666bec8..ad39f7f 100755
--- a/etc/rc.d/netif
+++ b/etc/rc.d/netif
@@ -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
OpenPOWER on IntegriCloud