testing version of LuaBIOS and OpenOS

people were having issues getting them to work so now we promote consistency
This commit is contained in:
2025-06-28 20:41:49 +02:00
parent 8210e20939
commit 687cfebd00
182 changed files with 14016 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
local computer = require("computer")
local shell = require("shell")
local args = shell.parse(...)
if #args ~= 1 then
io.write("Usage: useradd <name>\n")
return 1
end
local result, reason = computer.addUser(args[1])
if not result then
io.stderr:write(reason..'\n')
return 1
end