Is there a way to run a command via ssh that will reboot the RPI2 to a specified OS.
Scenario:
I have an RPI2 with BerryBoot and 3 OSes on it. Raspbian, Openelec and Retropie.
Openelec is the Default OS right now.
What I want to do is if I am watching a movie in kodi and want to play a game after that I want to be able to use my smartphone with raspSSH to tell the RPI to reboot to Retropie. or Raspbian if i want to surf the net.