summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-11-09 16:39:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-11-09 16:39:12 +0000
commit33e412623795caec22050c974285ea05d04af170 (patch)
treefb372c3c7c46e5e710901b30f3156d2d114f08b3
parent6042de79f7fbffbf71b29bd45671ac86cbf777b7 (diff)
downloaddrakx-33e412623795caec22050c974285ea05d04af170.tar
drakx-33e412623795caec22050c974285ea05d04af170.tar.gz
drakx-33e412623795caec22050c974285ea05d04af170.tar.bz2
drakx-33e412623795caec22050c974285ea05d04af170.tar.xz
drakx-33e412623795caec22050c974285ea05d04af170.zip
the guy must now type "yes" before being able to go on...
-rwxr-xr-xrescue/tree/etc/oem18
1 files changed, 10 insertions, 8 deletions
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