recovery_mode 100 B

1234
  1. #!/bin/sh
  2. sfdisk -A /dev/mmcblk0 1 >/dev/null 2>&1
  3. echo "Next boot will be in recovery mode"
  4. reboot