From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 03:31:24 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 91076106566C for ; Tue, 8 Feb 2011 03:31:24 +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 3EDFD8FC19 for ; Tue, 8 Feb 2011 03:31:23 +0000 (UTC) Received: (qmail 53620 invoked from network); 8 Feb 2011 03:31:20 -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=d173.4d50b908.k1102; i=johnl@submit.iecc.com; bh=FGsWiIl5PNqJbkTwRXWl2xgmyxFH4ck3sizDiaynSEA=; b=UmX+9f0IkVyLZIv6swub/hyJIFD5qqmdCTsqjINoAj2aBBaPpUMJvlCZwH5kCHBeIXDB0ooTORTyjQN2x2C7WePMGGcj/YcDeRFSZ1qYvHGUZhQOURn1mrDSz8wdgqDB66+z2QtiTVMCPJ6pO1dZuFYRld8fnTW190xr/Dr327I= 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 03:30:58 -0000 Date: 7 Feb 2011 22:31:19 -0500 Message-ID: From: "John R. Levine" To: "Adam Vande More" 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: 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 03:31:24 -0000 > It's quite easy to see you're wrong, just follow the steps I outlined > above. If you are correct, reboot(8) should print things like: > > Stopping sshd. > > to the console. Sigh. I shut down my FreeBSD 8.1 laptop all the time with halt -p, and I can assure you it prints all those messages. > You can also reference init.c if you still think you're correct. No thanks, I've already read the man page for init, including this paragraph: When shutting down the machine, init will try to run the /etc/rc.shutdown script. This script can be used to cleanly terminate specific programs such as innd (the InterNetNews server). If this script does not termi- nate within 120 seconds, init will terminate it. The timeout can be con- figured via the sysctl(8) variable kern.init_shutdown_timeout. If you're unfamiliar with rc.shutdown, it also has a man page. Perhaps your copy of FreeBSD was installed incorrectly, or it's been so long since you tried halt or reboot that you forgot what happened. 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