Skip to content

Instantly share code, notes, and snippets.

@invisiblek
Created January 27, 2017 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save invisiblek/084f53a8fe387bedd9374bd26d28ccac to your computer and use it in GitHub Desktop.
Save invisiblek/084f53a8fe387bedd9374bd26d28ccac to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "bootctl get-current-slot: `adb shell bootctl get-current-slot`"
echo "bootctl is-slot-bootable 0: `adb shell bootctl is-slot-bootable 0`"
echo "bootctl is-slot-bootable 1: `adb shell bootctl is-slot-bootable 1`"
echo "bootctl is-slot-marked-successful 0: `adb shell bootctl is-slot-marked-successful 0`"
echo "bootctl is-slot-marked-successful 1: `adb shell bootctl is-slot-marked-successful 1`"
echo "bootctl get-suffix 0: `adb shell bootctl get-suffix 0`"
echo "bootctl get-suffix 1: `adb shell bootctl get-suffix 1`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment