From owner-cvs-all@FreeBSD.ORG Fri Apr 18 10:51:55 2003 Return-Path: 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 CB48137B401; Fri, 18 Apr 2003 10:51:55 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7816B43FB1; Fri, 18 Apr 2003 10:51:55 -0700 (PDT) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3IHpt0U013612; Fri, 18 Apr 2003 10:51:55 -0700 (PDT) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3IHps3N013611; Fri, 18 Apr 2003 10:51:54 -0700 (PDT) Message-Id: <200304181751.h3IHps3N013611@repoman.freebsd.org> From: Mike Makonnen Date: Fri, 18 Apr 2003 10:51:54 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc Makefile network.subr src/etc/rc.d hostname netif network1 nisdomain X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 18 Apr 2003 17:51:56 -0000 mtm 2003/04/18 10:51:54 PDT FreeBSD src repository Modified files: etc Makefile network.subr etc/rc.d network1 Added files: etc/rc.d hostname netif nisdomain Log: Break out and rewrite the network setup scripts. o /etc/network.subr contains common subroutines used for seting up network interfaces o rc.d/hostname sets the hostname if not already set o rc.d/nisdomain sets the nis domain *after* rpcbind but before the yp* daemons. This fixes issues with temporary hangs when looking up informaion in nis before it's ready. o rc.d/netif brings network interfaces (minus dhcp) up. o rc.d/network1 has been disabled and will be retired before RELENG_5. It will be replaced by rc.d/netif Approved by: markm (mentor) Revision Changes Path 1.309 +1 -1 src/etc/Makefile 1.146 +167 -179 src/etc/network.subr 1.1 +51 -0 src/etc/rc.d/hostname (new) 1.1 +89 -0 src/etc/rc.d/netif (new) 1.146 +1 -1 src/etc/rc.d/network1 1.1 +119 -0 src/etc/rc.d/nisdomain (new)