#FreeBSD finding:
# halt
won't power off the computer.
I'm pretty sure that
# shutdown -h now
won't either.
But
# shutdown -p now
will.
#FreeBSD finding:
# halt
won't power off the computer.
I'm pretty sure that
# shutdown -h now
won't either.
But
# shutdown -p now
will.
@knapjack Yes, I don't think - h works either, and that's what I meant to write in the post.
I'll have to test and then edit if so.
Weird that halt doesn't go all the way
@passthejoe @knapjack I think -- but am not 100% certain -- that "halt" harkens back to an era when not every machine had power control (eg ACPI), beyond a physical on/off switch. When shutting down then, the machine might say "it is now safe to power off the computer".
For usability, "halt" on modern Linux et al will send the correct signals to cut power on the main board. I guess FreeBSD keeps the old behavior for "halt" to not break age-old UNIX behavior.
@litchralee_v6 @knapjack Sounds likely. I'm used to BSDs that don't shut down all the way and tell you that it's ok to hit the power button.
@passthejoe I use poweroff to power off the computer. Works on FreeBSD illumos and Linux but not macOS.
@passthejoe I'm used to -r being reboot. Did you try -h?