summaryrefslogtreecommitdiffstats
path: root/rescue/restore-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/restore-image.sh')
-rwxr-xr-xrescue/restore-image.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh
index 4634bc927..e91187515 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -76,9 +76,16 @@ function welcome()
function install_warning()
{
+ if [ -n "${win32_part_dev}" ]; then
+ warn_msg="Windows installation detected.\nWe will set it up as dual boot. \
+You may lose some data.\nPlease backup before proceeding."
+ else
+ warn_msg="WARNING: This process will erase all data in this machine, \
+do you want to continue?"
+ fi
+
clear
- _yesno "\nWARNING: This process will erase all data in this machine, \
-do you want to continue?\n "
+ _yesno "\n$warn_msg\n"
if [ "$?" != "0" ]; then
_shutdown
fi