diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-11-09 16:39:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-11-09 16:39:12 +0000 |
commit | 33e412623795caec22050c974285ea05d04af170 (patch) | |
tree | fb372c3c7c46e5e710901b30f3156d2d114f08b3 | |
parent | 6042de79f7fbffbf71b29bd45671ac86cbf777b7 (diff) | |
download | drakx-backup-do-not-use-33e412623795caec22050c974285ea05d04af170.tar drakx-backup-do-not-use-33e412623795caec22050c974285ea05d04af170.tar.gz drakx-backup-do-not-use-33e412623795caec22050c974285ea05d04af170.tar.bz2 drakx-backup-do-not-use-33e412623795caec22050c974285ea05d04af170.tar.xz drakx-backup-do-not-use-33e412623795caec22050c974285ea05d04af170.zip |
the guy must now type "yes" before being able to go on...
-rwxr-xr-x | rescue/tree/etc/oem | 18 |
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 "[1;31;40m!!ALL DATA IS GOING TO BE LOST!![0m" -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 "[1;31;40m!!ALL DATA IS GOING TO BE LOST!![0m" + echo + echo "Type \`\`yes'' and [enter] to go on" + read yes +done cd /proc/ide for i in hd*; do |