From owner-cvs-all@FreeBSD.ORG Thu Apr 13 06:50:47 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB85816A400; Thu, 13 Apr 2006 06:50:47 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A6C943D46; Thu, 13 Apr 2006 06:50:47 +0000 (GMT) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3D6olFU032563; Thu, 13 Apr 2006 06:50:47 GMT (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3D6olUu032562; Thu, 13 Apr 2006 06:50:47 GMT (envelope-from brooks) Message-Id: <200604130650.k3D6olUu032562@repoman.freebsd.org> From: Brooks Davis Date: Thu, 13 Apr 2006 06:50:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/etc network.subr src/etc/defaults rc.conf src/share/man/man5 rc.conf.5 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2006 06:50:47 -0000 brooks 2006-04-13 06:50:47 UTC FreeBSD src repository Modified files: etc network.subr etc/defaults rc.conf share/man/man5 rc.conf.5 Log: Commit the various network interface configutation updates I've been working on. 1) Make it possible to configure interfaces with certain characters in their names that aren't valid in shell variables. Currently supported characters are ".-/+". They are converted into '_' characters. 2) Replace nearly all eval statements in network.subr with a new function get_if_var which substitues an interface name (after the translations above) for "IF" in a variable name. 3) Fix list_net_interfaces() in the nodhcp case. 4) Allow the administrator to specify if dhclient should be started when /etc/rc.d/netif configures the interface or only by devd. This can be set on both a per interface and system wide basis. PR: conf/88974 [1,2], conf/92433 [1,2] Revision Changes Path 1.279 +2 -0 src/etc/defaults/rc.conf 1.169 +79 -22 src/etc/network.subr 1.291 +30 -8 src/share/man/man5/rc.conf.5