mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-06 18:29:47 +00:00
![Warner Losh](/assets/img/avatar_default.png)
Some BMCs support power cycling the chassis via the chassis control command 2 subcommand 2 (ipmitool called it 'chassis power cycle'). If the BMC supports the chassis device, register a shutdown_final handler that sends the power cycle command if request and waits up to 10s for it to take effect. To minimize stack strain, we preallocate a ipmi request in the softc. At the moment, we're verbose about what we're doing. Sponsored by: Netflix