diff options
author | pjd <pjd@FreeBSD.org> | 2008-10-30 20:24:25 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2008-10-30 20:24:25 +0000 |
commit | 1893f5dd32563424602a59881645e7dc8bd57bec (patch) | |
tree | ad24e7afbfff2d0505f441f05d2d21b2d0ae2882 /etc/rc.d/netif | |
parent | 8799893942bb6a1f9b0c146d762b16f3455444cb (diff) | |
download | FreeBSD-src-1893f5dd32563424602a59881645e7dc8bd57bec.zip FreeBSD-src-1893f5dd32563424602a59881645e7dc8bd57bec.tar.gz |
ifconfig(8) can take only one interface at a time.
Diffstat (limited to 'etc/rc.d/netif')
-rwxr-xr-x | etc/rc.d/netif | 4 |
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 |