Skip site navigation (1)Skip section navigation (2)
Date:      8 Feb 2011 01:11:02 -0500
From:      "John R. Levine" <johnl@iecc.com>
To:        "Rob Farmer" <rfarmer@predatorlabs.net>
Cc:        Adam Vande More <amvandemore@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: shutdown computer after the halt command
Message-ID:  <alpine.BSF.2.00.1102080056410.67266@joyce.lan>
In-Reply-To: <AANLkTikNoh+r+BGij3AvpvLzC+-X9UgeW6jLUq2AyqZB@mail.gmail.com>
References:  <AANLkTimXnCVBbZ1xz=jRMXGfg6Bka2vns_icg+06O9ZT@mail.gmail.com> <20110208025451.24154.qmail@joyce.lan> <AANLkTimiFUV9GdXOsgw6SJ2yjg0TSq+wjv80yL7oXDyG@mail.gmail.com> <alpine.BSF.2.00.1102072225540.31791@joyce.lan> <AANLkTikNoh+r+BGij3AvpvLzC+-X9UgeW6jLUq2AyqZB@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1102080056410.67266>