RB_POWEROFF
if (howto != 0 && (howto & (RB_HALT | RB_POWEROFF | RB_REROOT |
howto = RB_POWEROFF;
howto & RB_POWEROFF ? SIGUSR2 :
howto |= RB_POWEROFF;
if ((howto & RB_POWEROFF) && (howto & RB_POWERCYCLE))
} else if (howto & RB_POWEROFF) {
shutdown_nice(RB_POWEROFF);
if ((howto & (RB_POWEROFF|RB_HALT)) == 0)
if (!(howto & RB_POWEROFF))
shutdown_nice(RB_POWEROFF);
shutdown_nice(RB_POWEROFF);
if ((howto & RB_POWEROFF) == 0)
if (howto & RB_HALT || howto & RB_POWEROFF)
shutdown_nice(RB_POWEROFF);
if (!(howto & RB_POWEROFF))
if ((howto & (RB_HALT | RB_POWEROFF)) != 0)
how = (howto & (RB_HALT | RB_POWEROFF | RB_POWERCYCLE)) ?
bsd_args.opt = RB_POWEROFF;
shutdown_nice(RB_POWEROFF);
if ((howto & RB_POWEROFF) != 0) {
shutdown_nice(RB_POWEROFF);
shutdown_nice(RB_POWEROFF);
shutdown_nice(RB_POWEROFF);
if ((howto & RB_POWEROFF) != 0 && efi_poweroff)
if (howto & RB_POWEROFF)
(howto & RB_POWEROFF) != 0 ? "power off" : "reset");
sc->sc_rbmask = RB_HALT | RB_POWEROFF;
shutdown_nice(RB_POWEROFF);
if ((howto & (RB_POWEROFF | RB_POWERCYCLE)) == 0)
if (howto & RB_POWEROFF)
if ((howto & RB_POWEROFF) != 0)
write = (howto & RB_POWEROFF) != 0;
shutdown_nice(RB_HALT | RB_POWEROFF);
shutdown_nice(RB_HALT|RB_POWEROFF);
shutdown_nice(RB_POWEROFF|RB_HALT);
else if ((howto & RB_POWEROFF) != 0)
if ((howto & RB_POWEROFF) != 0) {
if ((howto & RB_POWEROFF) != 0)
if ((howto & (RB_HALT|RB_POWEROFF)) == 0)
if ((howto & RB_POWEROFF) != 0)
if ((howto & (RB_HALT|RB_POWEROFF)) == 0)
bootopt |= RB_POWEROFF;
if ((howto & (RB_POWEROFF | RB_POWERCYCLE)) == 0 || poweroff_delay <= 0)
if ((howto & RB_POWEROFF) != 0)
if ((howto & RB_POWEROFF) != 0)
shutdown_nice(RB_POWEROFF);
if ((howto & RB_POWEROFF) != 0)
if ((howto & RB_POWEROFF) != 0)
howto = RB_POWEROFF;
if ((howto & RB_POWEROFF) != 0) {
if ((howto & RB_POWEROFF) != 0)
if ((howto & RB_POWEROFF) != 0)