Fixes #8317 - Implement Reboot action

@lzap I didn't understand what needed formatting, can you please explain?