Author: pjd
Date: Thu Oct 30 20:24:25 2008
New Revision: 184485
URL: http://svn.freebsd.org/changeset/base/184485

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

Modified:
  head/etc/rc.d/netif

Modified: head/etc/rc.d/netif
==============================================================================
--- head/etc/rc.d/netif Thu Oct 30 19:51:02 2008        (r184484)
+++ head/etc/rc.d/netif Thu Oct 30 20:24:25 2008        (r184485)
@@ -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
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to