shell.run("clear")
if fs.exists("startup") then
print("Are you sure you want to replace your current startup file? Y/N")
while true do
ev, but = os.pullEvent()
if but == y then
break
elseif but == n then
print("Ok, I won't override it.")
sleep(.5)
print(textutils.slowWrite("rebooting..."))
sleep(1)
os.reboot()
end
end
fs.delete("startup")
fs.copy("VectOS/programs/startup", "startup")
else
fs.copy("VectOS/programs/startup", "startup")
end
os.reboot()
When I press "y" or "n", it does nothing.












