shutdown computer after the halt command
johnl at iecc.com
Tue Feb 8 03:21:34 UTC 2011
>I used to believe that until I was shown I was wrong. The easiest way to
>see you're wrong is to drop to ttyv0 then do one of each like a reboot then
>a shutdown -r now. In the latter case, you'll notice /etc/rc.d/ and
>/usr/local/etc/rc.d/ stop scripts being processed but not so in the former.
Uh, no. shutdown or halt signals init, and init runs /etc/rc.shutdown
which runs all the shutdown scripts. The only extra work that
shutdown does is to blat lots of warnings onto the ttys.
Read the man pages for shutdown, halt, and init if you believe otherwise.
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