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
#!/bin/bash | |
# Download Tezi from https://developer.toradex.com/easy-installer/toradex-easy-installer/download-tezi#latest-release | |
# Unzip it, copy this script to the unzipped directory and run as `bash recovery-mac.sh`, following the usual way to | |
# put your board in recovery mode | |
# ask for the password early | |
sudo true |
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
#!/bin/sh | |
# Download Tezi from https://developer.toradex.com/easy-installer/toradex-easy-installer/download-tezi#latest-release | |
# Unzip it, copy this script to the unzipped directory and run as `bash recovery-mac.sh`, following the usual way to | |
# put your board in recovery mode | |
# Check if uuu is installed | |
if ! command -v uuu > /dev/null; then | |
echo "Error: uuu is not installed. Please install uuu using brew (https://brew.sh/) before running this script." | |
exit 1 |