I've used rpiboot to get access to the storage of a revpi and flash an image.
How can I restart the PI from the terminal, so it boots into the freshly flashed OS?
I do not want to physically interact with the raspberry (e.g. reconnect the powersupply), so it can be restarted via a script.