Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cfg = "/.bios.cfg"
- local serverPass = "admin"
- local myFile = shell.getRunningProgram()
- local nativeFS = fs
- function fs.open(file, mode)
- if string.find(file,cfg) then
- error("Access Denied")
- else
- theirFileHandle = fs.open(file,mode)
- return theirFileHandle
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement