diff --git a/inventoryWebBridge.lua b/inventoryWebBridge.lua index acf888b..51dff85 100644 --- a/inventoryWebBridge.lua +++ b/inventoryWebBridge.lua @@ -176,6 +176,12 @@ local function processCommand(cmd) commandId = cmd.commandId, recipeIdx = cmd.recipeIdx, }) + elseif action == "reboot" then + modem.transmit(ORDER_CHANNEL, BROADCAST_CHANNEL, { + type = "reboot", + commandId = cmd.commandId, + target = cmd.target or "all", + }) else print("[CMD] Unknown action: " .. tostring(action)) end