> On Feb 24, 2017, at 23:52, Andriy Gapon <a...@freebsd.org> wrote: > > On 25/02/2017 05:11, Ngie Cooper wrote: >> Author: ngie >> Date: Sat Feb 25 03:11:08 2017 >> New Revision: 314239 >> URL: https://svnweb.freebsd.org/changeset/base/314239 >> >> Log: >> Add shutdown/poweroff support to rescue(8) >> >> shutdown is a safer way to power off than reboot (in general), because of >> the added shutdown process that it executes via /etc/rc.shutdown . It was >> odd that it was missing from rescue(8) since reboot and friends were >> added in past commits. > > Just a note that rescue is typically used in situations where rc.shutdown is > of > little use. E.g., most likely there won't be any daemons running, etc.
Yeah.. or arguably ones of value. I still like the fact that it’s running “service <foo> stop” on /etc/rc.d scripts in reverse to shut things down cleanly, as opposed to reboot(8) which just reboots. This can make a bit of a difference if you just set up a system and still have mount points setup, etc. But in most cases, yes, I would totally agree. -Ngie
signature.asc
Description: Message signed with OpenPGP using GPGMail