Restore previous reboot routine