From 2bef5f35f4a87bf342f0a19008b1af5280f57e4f Mon Sep 17 00:00:00 2001 From: erius0 <63460770+erius0@users.noreply.github.com> Date: Fri, 8 Jan 2021 19:42:38 +0300 Subject: [PATCH] Update linkedSend.lua --- linkedSend.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linkedSend.lua b/linkedSend.lua index 78d2af6..5a31c1b 100644 --- a/linkedSend.lua +++ b/linkedSend.lua @@ -1,3 +1,4 @@ +local computer = require("computer") local component = require("component") local event = require("event") local t = component.tunnel @@ -17,6 +18,8 @@ while true do break elseif message == "help" then print(help) + elseif message == "update" then + computer.shutdown(true) end os.sleep(1) end