Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2008 20:24:25 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184485 - head/etc/rc.d
Message-ID:  <200810302024.m9UKOPm4060858@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810302024.m9UKOPm4060858>