Fixed boxstarter script to handle reboots.