86 |
|
|
87 |
dialog_warning() |
dialog_warning() |
88 |
{ |
{ |
89 |
dialog \ |
local retval |
90 |
--backtitle "${TITLE}" \ |
|
91 |
--colors \ |
yesnobox $"\Z1 !!! Warning !!! \Zn\n\n\This harddrive will be irreversibly erased.\n\n\Do you want to continue ?" |
92 |
--defaultno \ |
retval=$? |
93 |
--yesno "\Z1 !!! Achtung !!! \Zn\n\n\ |
if [[ ${retval} -eq 1 ]] |
|
Diese Festplatte wird unwiederruflich geloescht werden.\n\n\ |
|
|
Soll ich wirklich fortfahren ?" 10 70 |
|
|
RES=$? |
|
|
if [[ ${RES} -eq 1 ]] |
|
94 |
then |
then |
95 |
clear |
clear |
96 |
echo "Der Vorgang wurde abgebrochen." |
echo $"The process was aborted." |
97 |
exit 1 |
exit 1 |
98 |
fi |
fi |
99 |
} |
} |