Commit a6ff33a6529069c242fdb77ce20b51b8d6b9ae5a
Committed by
GitHub
Merge pull request #171 from andrum99/patch-1
rpi-otp-private-key: fix typo
Showing
1 changed file
with
4 additions
and
4 deletions
tools/rpi-otp-private-key
| @@ -16,7 +16,7 @@ usage() { | @@ -16,7 +16,7 @@ usage() { | ||
| 16 | cat <<EOF | 16 | cat <<EOF |
| 17 | $(basename "$0") [-cfwy] <key> | 17 | $(basename "$0") [-cfwy] <key> |
| 18 | 18 | ||
| 19 | - No args - reads the current private key from OTP. These values are NOT visible via 'vcgencmd otp_dump' | 19 | + No args - reads the current private key from OTP. These values are NOT visible via 'vcgencmd otp_dump'. |
| 20 | 20 | ||
| 21 | -b Output the key in binary format. | 21 | -b Output the key in binary format. |
| 22 | -c Reads key and exits with 1 if it is all zeros i.e. not set. | 22 | -c Reads key and exits with 1 if it is all zeros i.e. not set. |
| @@ -32,7 +32,7 @@ usage() { | @@ -32,7 +32,7 @@ usage() { | ||
| 32 | to any user in the 'video' group via vcmailbox. Therefore this functionality is only suitable for key | 32 | to any user in the 'video' group via vcmailbox. Therefore this functionality is only suitable for key |
| 33 | storage if the OS has already been restricted using the signed boot functionality. | 33 | storage if the OS has already been restricted using the signed boot functionality. |
| 34 | 34 | ||
| 35 | - WARNING: Changes to OTP memory are permenant and cannot be undone. | 35 | + WARNING: Changes to OTP memory are permanent and cannot be undone. |
| 36 | EOF | 36 | EOF |
| 37 | exit 1 | 37 | exit 1 |
| 38 | } | 38 | } |
| @@ -69,9 +69,9 @@ write_key() { | @@ -69,9 +69,9 @@ write_key() { | ||
| 69 | if [ "${YES}" = 0 ] && [ -t 0 ]; then | 69 | if [ "${YES}" = 0 ] && [ -t 0 ]; then |
| 70 | echo "Write ${key} to OTP?" | 70 | echo "Write ${key} to OTP?" |
| 71 | echo | 71 | echo |
| 72 | - echo "WARNING: Updates to OTP registers are permenant and cannot be undone." | 72 | + echo "WARNING: Updates to OTP registers are permanent and cannot be undone." |
| 73 | 73 | ||
| 74 | - echo "Type YES (in upper-case) to continue or press return to exit." | 74 | + echo "Type YES (in upper case) to continue or press return to exit." |
| 75 | read -r confirm | 75 | read -r confirm |
| 76 | if [ "${confirm}" != "YES" ]; then | 76 | if [ "${confirm}" != "YES" ]; then |
| 77 | echo "Cancelled" | 77 | echo "Cancelled" |