From owner-cvs-all@FreeBSD.ORG Sat Jul 26 11:50: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 0F10737B401; Sat, 26 Jul 2003 11:50:55 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D87743F85; Sat, 26 Jul 2003 11:50:54 -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 h6QIos0U067571; Sat, 26 Jul 2003 11:50:54 -0700 (PDT) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6QIosK1067570; Sat, 26 Jul 2003 11:50:54 -0700 (PDT) Message-Id: <200307261850.h6QIosK1067570@repoman.freebsd.org> From: Mike Makonnen Date: Sat, 26 Jul 2003 11:50: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/rc.d dhclient 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: Sat, 26 Jul 2003 18:50:55 -0000 mtm 2003/07/26 11:50:54 PDT FreeBSD src repository Modified files: etc/rc.d dhclient Log: When stopping a dhcp interface, don't just release the lease on the address, also kill the dhclient process. Instead of doing the release in the stop command, move it to the precmd stage and allow rc.subr(8) to automatically kill the dhclient process by leaving the stop command undefined. Noticed by: mbr Revision Changes Path 1.7 +7 -12 src/etc/rc.d/dhclient