From owner-svn-src-all@FreeBSD.ORG Thu Jul 28 03:01:22 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A157106566B; Thu, 28 Jul 2011 03:01:22 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 889A78FC15; Thu, 28 Jul 2011 03:01:22 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p6S31MCC082767; Thu, 28 Jul 2011 03:01:22 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p6S31MlL082765; Thu, 28 Jul 2011 03:01:22 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <201107280301.p6S31MlL082765@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Thu, 28 Jul 2011 03:01:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r224470 - head/usr.sbin/bsdinstall/scripts X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2011 03:01:22 -0000 Author: bz Date: Thu Jul 28 03:01:22 2011 New Revision: 224470 URL: http://svn.freebsd.org/changeset/base/224470 Log: To inet or not two inet. Unbreak static IPv4 configuration. If you tried you were stuck in an endless loop. Reported by: kensmith Approved by: re (kib) for BETA1 Pointy hat to: bz - wonder why I had not tested legacy IP thoroughly.. Modified: head/usr.sbin/bsdinstall/scripts/netconfig_ipv4 Modified: head/usr.sbin/bsdinstall/scripts/netconfig_ipv4 ============================================================================== --- head/usr.sbin/bsdinstall/scripts/netconfig_ipv4 Wed Jul 27 22:54:40 2011 (r224469) +++ head/usr.sbin/bsdinstall/scripts/netconfig_ipv4 Thu Jul 28 03:01:22 2011 (r224470) @@ -78,7 +78,7 @@ echo $INTERFACE $IF_CONFIG | if [ ! -z $BSDINSTALL_CONFIGCURRENT ]; then . $BSDINSTALL_TMPETC/._rc.conf.net - ifconfig $INTERFACE inet `eval echo \\\$ifconfig_$INTERFACE` + ifconfig $INTERFACE `eval echo \\\$ifconfig_$INTERFACE` route delete -inet default route add -inet default $defaultrouter fi