computer.shutdown

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

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

Shutdown a computer peripheral.

ExampleExampleShutdown a Computer
Shutdown a Computer.
Code
local computer = peripheral.find("computer")
computer.shutdown()