Function reboot

Source
pub(crate) fn reboot(cmd: RebootCommand) -> Result<()>