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%2Br%2BBGij3AvpvLzC%2B-X9UgeW6jLUq2AyqZB@mail.gmail.com> References: <AANLkTimXnCVBbZ1xz=jRMXGfg6Bka2vns_icg%2B06O9ZT@mail.gmail.com> <20110208025451.24154.qmail@joyce.lan> <AANLkTimiFUV9GdXOsgw6SJ2yjg0TSq%2Bwjv80yL7oXDyG@mail.gmail.com> <alpine.BSF.2.00.1102072225540.31791@joyce.lan> <AANLkTikNoh%2Br%2BBGij3AvpvLzC%2B-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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1102080056410.67266>