computer.reboot

From ComputerCraft
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

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()