svn commit: r184485 - head/etc/rc.d

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Oct 30 13:24:26 PDT 2008


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
 


More information about the svn-src-head mailing list