Help I’m trapped in an infinite loop and I can’t get out

Like a complete genius, I put this in the startup program:

while true do
  shell.run("power")
end

Which seemed fine at the time, except now I need to edit something. Here’s the fun part: when I try to terminate the program, it will terminate power, and then immediately restart it. The turtle has a label, so breaking him will not work, and I’m on a SMP server, so I don’t have access to the files. Help?

Answer

Put it next to a diskdrive with a disk which has a do-nothing startup (ensure the drive is not on a side with a peripheral). Computers prefer to boot from disk over local files unless otherwise specified in the config.

Attribution
Source : Link , Question Author : Unionhawk , Answer Author : ratchet freak

Leave a Comment