shutdown computer after the halt command

John R. Levine johnl at iecc.com
Tue Feb 8 06:11:04 UTC 2011


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 at iecc.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. http://jl.ly


More information about the freebsd-questions mailing list