I need a way to have a script reboot a few times while its running.
For example, run lines 1-10, reboot, run lines 11-20, reboot, etc, etc.
I'm guessing I could have it write to a text file before each reboot, and have the script check the text file on startup for where it needs to...