13 lines
246 B
Text
13 lines
246 B
Text
|
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])
|