Created
          September 1, 2015 15:38 
        
      - 
      
- 
        Save mthierry/fe8d225521f1481e0da5 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | adb reboot bootloader | |
| read -r -p "Continue flashing? [y/N] " response | |
| response=${response,,} # tolower | |
| if [[ $response =~ ^(yes|y)$ ]] | |
| then | |
| #flash | |
| fastboot flash boot myboot.img | |
| fastboot reboot | |
| fi | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment