This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
FREAX/bin/manedit

13 lines
246 B
Text
Raw Normal View History

2022-07-18 19:33:40 +02:00
local tArgs = {...}
if not security.getSU() then
exception.throw("RestrictedOpsException")
return
end
if #tArgs < 1 then
kerneldraw.printAppInfo("manedit", "filename not specified")
return
end
shell.run("/bin/nano /etc/manuals/"..tArgs[1])