Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- run multiple programs at startup
- local function run(dir)
- local list = fs.list(dir)
- for i=1, #list do
- local path = dir.."/"..list[i]
- if fs.isDir(path) then
- run(path)
- else
- shell.run(path)
- end
- end
- end
- run("/.startup")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement