Commit a6ff33a6529069c242fdb77ce20b51b8d6b9ae5a

Authored by Tim Gover
Committed by GitHub
2 parents 1a459f07 61bae6eb

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 16 cat <<EOF
17 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 21 -b Output the key in binary format.
22 22 -c Reads key and exits with 1 if it is all zeros i.e. not set.
... ... @@ -32,7 +32,7 @@ usage() {
32 32 to any user in the 'video' group via vcmailbox. Therefore this functionality is only suitable for key
33 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 36 EOF
37 37 exit 1
38 38 }
... ... @@ -69,9 +69,9 @@ write_key() {
69 69 if [ "${YES}" = 0 ] && [ -t 0 ]; then
70 70 echo "Write ${key} to OTP?"
71 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 75 read -r confirm
76 76 if [ "${confirm}" != "YES" ]; then
77 77 echo "Cancelled"
... ...