From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 06:11:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 262A5106566C for ; Tue, 8 Feb 2011 06:11:04 +0000 (UTC) (envelope-from prvs=0013eb39ed=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id AA35C8FC14 for ; Tue, 8 Feb 2011 06:11:03 +0000 (UTC) Received: (qmail 83074 invoked from network); 8 Feb 2011 06:11:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:vbr-info:user-agent:cleverness; s=14481.4d50de76.k1102; i=johnl@submit.iecc.com; bh=jbMz1oTttbGYqf5z3Cge1UM3NxJFCs9iuYgdD+GWhUc=; b=QrlIIeJDPO5R9JvVNY8sOxlCOwttBP5k2yvFujDtNG176SXe6gY1SRFkeP3FnmEnfbCjjdgUwK13tSQI4x5uJ5CrlsXGCdm0UeiNH1Y4pauJoQ7ZhsOOJBzCnCW+HMEFw19xHijZ6+d6ga5X5ZV6zjqukl+SoAwfmbemW2jU/qw= VBR-Info: md=iecc.com; mc=all; mv=dwl.spamhaus.org Received: (ofmipd johnl@64.57.183.62) with (DHE-RSA-AES256-SHA encrypted) SMTP; 8 Feb 2011 06:10:40 -0000 Date: 8 Feb 2011 01:11:02 -0500 Message-ID: From: "John R. Levine" To: "Rob Farmer" In-Reply-To: References: <20110208025451.24154.qmail@joyce.lan> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Cleverness: None detected MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Adam Vande More , freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 06:11:04 -0000 Hmmn, I looked at the code and by golly you're right, halt/reboot doesn't poke init. Nonetheless, I really do see a lot of "foo stopping" messages when I use halt, presumably because the SIGTERM that halt/reboot sends has the same effect (if not the same ordering) as the ones that the various rc.d scripts send. Looks like "init 0" would be tidier than halt -p, and in the finest Unix tradition, is one less character to type. Regards, John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. http://jl.ly