Mention that case is important when prompting before writing.

Change-Id: I35cb42d4120b734f6332fb671787f1e76e0c6832

BUG=chromium-os:10093
TEST=manual

Run the installer. It should now say

  "You must enter 'YES' (all uppercase) to continue: "
  "If you're sure that's correct, enter 'DoIt' now (case is important): "

Review URL: http://codereview.chromium.org/5612009
This commit is contained in:
Bill Richardson
2010-12-10 07:52:39 -08:00
parent dd574db57a
commit 2902623c5e

View File

@@ -788,7 +788,7 @@ Is this the device you want to put the recovery image on?
$dev_desc
"
prompt "You must enter 'YES' to continue: "
prompt "You must enter 'YES' (all uppercase) to continue: "
read tmp
if [ "$tmp" != "YES" ]; then
quit
@@ -803,7 +803,7 @@ whatever you may have on that drive. You won't be able to undo it.
$dev_desc
"
prompt "If you're sure that's the device to use, enter 'DoIt' now: "
prompt "If you're sure that's correct, enter 'DoIt' now (case is important): "
read tmp
if [ "$tmp" != "DoIt" ]; then
quit