From 425b5ae3b5a3f251a389e41c0fa73bbdffcf26ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 3 Oct 2018 13:45:47 +0200 Subject: [PATCH] card-helpers.inc: rework last exit messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- scripts/include/card-helpers.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/include/card-helpers.inc b/scripts/include/card-helpers.inc index 334b560..0144bbf 100644 --- a/scripts/include/card-helpers.inc +++ b/scripts/include/card-helpers.inc @@ -219,10 +219,10 @@ RunUserStartRoot() { done # dialog's gui is done here clear - echo + echo "${style_bold}${style_red}IMPORTANT: THIS is YOUR LAST EXIT...${style_normal}" if [ "x$1" = "x" ] ; then # No message text passed: use standard - echo "${style_bold}All data currenly stored on $DevicePath will be overwritten by $DeployedFile!${style_normal}" + echo "${style_bold}All data on $DevicePath will be overwritten by $DeployedFile${style_normal}" else # Use message text passed echo $1 | sed "s|\%DevicePath\%|$DevicePath|" | sed "s|\%DeployedFile\%|$DeployedFile|" @@ -270,7 +270,7 @@ StartCardKernelWrite() { KernelImageType="$DEFAULT_KERNEL_IMAGE_TYPE" fi - RunUserStartRoot "${style_bold}The kernel images on %DevicePath% will be overwritten by %DeployedFile%!${style_normal}" + RunUserStartRoot "${style_bold}Kernel on %DevicePath% will be overwritten by %DeployedFile%${style_normal}" PrepareWrite RootCardKernelWriteCallback }