From 33e412623795caec22050c974285ea05d04af170 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 9 Nov 2000 16:39:12 +0000 Subject: the guy must now type "yes" before being able to go on... --- rescue/tree/etc/oem | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'rescue/tree') diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem index a4b061f87..b8d7c0aed 100755 --- a/rescue/tree/etc/oem +++ b/rescue/tree/etc/oem @@ -6,14 +6,16 @@ inst=1 swap=2 root=3 -echo -echo -echo "I'm going to install the OEM version on your hard drive" -echo "!!ALL DATA IS GOING TO BE LOST!!" -echo -echo "Press enter to go on" - -read +yes= +while [ "$yes" != "yes" ]; do + echo + echo + echo "I'm going to install the OEM version on your hard drive" + echo "!!ALL DATA IS GOING TO BE LOST!!" + echo + echo "Type \`\`yes'' and [enter] to go on" + read yes +done cd /proc/ide for i in hd*; do -- cgit v1.2.1