Advertisement
Guest User

Computercraft: UBUNOS file: install

a guest
Jul 31st, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. print('UbunOS is not installed, do you want INSTALL UbunOS ?\n{1} Yes\n{2} No')
  2. local choice=read()
  3. if choice=='1' then
  4. shell.run('rm *')
  5. shell.run('mkdir /ubunos/')
  6. shell.run('cp /disk/files/ /ubunos/files/')
  7. shell.run('cp /disk/startup/ /ubunos/prog/')
  8. shell.run('cp /disk/install/ /ubunos/install/')
  9. shell.run('cp /disk/startup/ /startup/')
  10. shell.run('cp /disk/wifi /ubunos/wifi')
  11. shell.run('clear')
  12. elseif choice=='2' then
  13. shell.run('clear')
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement