shell: Make example toggle the relays