Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local address = ...
- local countFile = "/tmp/fddCount"
- local mountName = "/fdd"
- local fs = require "filesystem"
- local shell = require "shell"
- local term = require "term"
- local component = require "component"
- term.clear()
- print("-[SKS-Boot]-\n(C) 2014 ShadowKat Studios\n\nBoot Device:")
- local rBootDev = io.read()
- local bDev = rBootDev:sub(1,rBootDev:len()-1)
- fs.umount("/")
- fs.mount(component.proxy(component.get(bDev)),"/")
- if fs.exists("/boot") then shell.execute("/boot") end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement