Date: 7 Feb 2011 22:31:19 -0500 From: "John R. Levine" <johnl@iecc.com> To: "Adam Vande More" <amvandemore@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt command Message-ID: <alpine.BSF.2.00.1102072225540.31791@joyce.lan> In-Reply-To: <AANLkTimiFUV9GdXOsgw6SJ2yjg0TSq%2Bwjv80yL7oXDyG@mail.gmail.com> References: <AANLkTimXnCVBbZ1xz=jRMXGfg6Bka2vns_icg%2B06O9ZT@mail.gmail.com> <20110208025451.24154.qmail@joyce.lan> <AANLkTimiFUV9GdXOsgw6SJ2yjg0TSq%2Bwjv80yL7oXDyG@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. > 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. If you're unfamiliar with rc.shutdown, it also has a man page. Perhaps your copy of FreeBSD was installed incorrectly, or it's been so long since you tried halt or reboot that you forgot what happened. 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.1102072225540.31791>