From owner-cvs-all@FreeBSD.ORG Thu Dec 4 20:28:04 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 B87A616A4CE; Thu, 4 Dec 2003 20:28:04 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 108EF43FBF; Thu, 4 Dec 2003 20:28:04 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hB54S3XJ077385; Thu, 4 Dec 2003 20:28:03 -0800 (PST) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hB54S3VV077384; Thu, 4 Dec 2003 20:28:03 -0800 (PST) (envelope-from imp) Message-Id: <200312050428.hB54S3VV077384@repoman.freebsd.org> From: Warner Losh Date: Thu, 4 Dec 2003 20:28:03 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/init init.c 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, 05 Dec 2003 04:28:04 -0000 imp 2003/12/04 20:28:03 PST FreeBSD src repository Modified files: sbin/init init.c Log: Fix the case where one goes from zero to more than zero items enabled in /etc/ttys. Before this fix, once the count of active services reaches 0, one could never restart any more without a reboot. Steve Passe did the leg work on this patch. After he found the fix, we discovered that an identical fix had been made to NetBSD. Approved by: re@ Approval tool: peril sensitive sunglasses Revision Changes Path 1.56 +0 -3 src/sbin/init/init.c