Hook up Safe Mode to pre-reboot actions