From owner-cvs-src@FreeBSD.ORG Sat Jun 28 22:34:42 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7132737B401; Sat, 28 Jun 2003 22:34:42 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21CC243FA3; Sat, 28 Jun 2003 22:34:42 -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 h5T5Yf0U060550; Sat, 28 Jun 2003 22:34:41 -0700 (PDT) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5T5Yfwk060549; Sat, 28 Jun 2003 22:34:41 -0700 (PDT) Message-Id: <200306290534.h5T5Yfwk060549@repoman.freebsd.org> From: Mike Makonnen Date: Sat, 28 Jun 2003 22:34:41 -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/rc.d dhclient netif X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2003 05:34:42 -0000 mtm 2003/06/28 22:34:41 PDT FreeBSD src repository Modified files: etc/rc.d dhclient netif Log: Implement individual operations on static and dhcp interfaces. Previously network interfaces could only be turned on and off as a group (all static interfaces or all dhcp interfaces). When used to start the interface a 'long form' ifconfig output is used to show the status of the interface, but when stopping an interface the script will simply output the name of the interface. This is simply my personal preference. Hopefully as this functionality matures we can stabilize on a prefered form of output for these scripts. A stop command to the dhclient script now explicitly releases the dhcp lease. Behaviour at system shutdown; however, is unchanged since dhclient is not, by default, run at that time. The client will not release its lease at shutdown. Revision Changes Path 1.6 +59 -4 src/etc/rc.d/dhclient 1.2 +99 -22 src/etc/rc.d/netif