computer.reboot

From ComputerCraft
Jump to navigation Jump to search

computer.reboot
Function
Syntax
computer.reboot()
Returns nil
API computer
Source CC:Tweaked (source)

Reboot a computer peripheral.

ExampleExampleReboot a Computer
Reboot a Computer.
Code
local computer = peripheral.find("computer")
computer.reboot()