-
Notifications
You must be signed in to change notification settings - Fork 0
/
startup
54 lines (49 loc) · 1.53 KB
/
startup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
term.clear()
term.setCursorPos(1,1)
print("WINDOTS 1.0")
write("ID komputera: ")
write(os.getComputerID())
print(" ")
write("Zarejestrowano dla: ")
if os.getComputerLabel() == nil then
write("NIL")
else
write(os.getComputerLabel())
end
term.setCursorPos(1,5)
sleep(0.5)
print("Aktualizacja ustawien uzytkownika...")
print(" ")
sleep(0.1)
print("/WINDOTS/system64/conupdate/cmd")
print(" >> /WINDOTS/system64/config/cmd")
fs.delete("/WINDOTS/system64/config/cmd")
fs.copy("/WINDOTS/system64/conupdate/cmd", "/WINDOTS/system64/config/cmd")
sleep(0.1)
print("/WINDOTS/system64/conupdate/passwd")
print(" >> /WINDOTS/system64/config/passwd")
fs.delete("/WINDOTS/system64/config/passwd")
fs.copy("/WINDOTS/system64/conupdate/passwd", "/WINDOTS/system64/config/passwd")
sleep(0.1)
print("/WINDOTS/system64/conupdate/guicolor")
print(" >> /WINDOTS/system64/config/guicolor")
fs.delete("/WINDOTS/system64/config/guicolor")
fs.copy("/WINDOTS/system64/conupdate/guicolor", "/WINDOTS/system64/config/guicolor")
sleep(0.1)
print("/WINDOTS/system64/conupdate/guitextcolor")
print(" >> /WINDOTS/system64/config/guitextcolor")
fs.delete("/WINDOTS/system64/config/guitextcolor")
fs.copy("/WINDOTS/system64/conupdate/guitextcolor", "/WINDOTS/system64/config/guitextcolor")
sleep(0.5)
term.setCursorPos(1,18)
print("Uruchamianie systemu...")
sleep(0.5)
term.clear()
term.setBackgroundColor(colors.lightBlue)
sleep(0.2)
term.clear()
sleep(0.4)
term.setBackgroundColor(colors.black)
term.clear()
sleep(0.2)
shell.run("/WINDOTS/system64/WCC")