From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 04:19:50 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 3763F106566C for ; Tue, 8 Feb 2011 04:19:50 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id BE8208FC0A for ; Tue, 8 Feb 2011 04:19:49 +0000 (UTC) Received: by fxm16 with SMTP id 16so5913079fxm.13 for ; Mon, 07 Feb 2011 20:19:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=TUQMYIwa/KAoGgHFLigitsjMuLX5C1ErMj+Lgq8zVIE=; b=OAQzdNlMFfvPat65S7GhGFygQaug9McoTjBIKocIhfcdxyVkfRTf/ZuPbaxRdhAdJ/ 9fdDzXjfdq7mmOHnhRdCSbJFO5uYw/BYfYdWgwUdIbTTsao88xxBMTTYOV3p7XGhYe+0 we2rwkmzH2BLhf6XhOpaWTRT7wTCQKSla+0Bk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=giFMBHf20Z7wUoaT2dnxRB9ddpI5VHZ3zjWXop6dQHBW0Ee+rs49AcYpTTejv5WWYu 6avfE86ag13b1Qk/wJUkd3O+Edu1zcxyXY4IsOBQPltUKfK8QWBllNvia3x8ErOEzQcE tRljDVAZX0j1/x+4qPVJY/z2PQxX2hDEJEq7g= MIME-Version: 1.0 Received: by 10.223.86.135 with SMTP id s7mr15926041fal.70.1297138788630; Mon, 07 Feb 2011 20:19:48 -0800 (PST) Received: by 10.223.114.4 with HTTP; Mon, 7 Feb 2011 20:19:48 -0800 (PST) In-Reply-To: References: <20110208025451.24154.qmail@joyce.lan> Date: Mon, 7 Feb 2011 22:19:48 -0600 Message-ID: From: Adam Vande More To: "John R. Levine" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 04:19:50 -0000 On Mon, Feb 7, 2011 at 9:31 PM, John R. Levine wrote: > 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. Are you hitting the bottle hard tonight? It does no such thing. 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. > Exactly, reboot(8) doesn't call init, shutdown(8) does. See reboot.c, shutdown.c -- Adam Vande More