fix syntax and wording

This commit is contained in:
rootzoll
2021-05-22 10:48:45 -05:00
parent dd4f9f9504
commit b482b41a3f

View File

@@ -2,10 +2,10 @@
if [ "$1" == "format" ]; then if [ "$1" == "format" ]; then
whiptail --title " FORMATTING DATA DRVE " --yes-button "DELETE DATA" --no-button "CANCEL" --yesno "For fresh setup your data drive needs to be formatted, but there is old data on your HDD/SSD that could contain funds. whiptail --title " FORMATTING DATA DRVE " --yes-button "DELETE DATA" --no-button "STOP SETUP" --yesno "Your data drive will now be formatted. This will delete all data on your connected HDD/SSD. Make sure that there is no important data or old funds on that data drive.
Are you really sure that you want delete that old data? Are you sure to format the HDD/SSD and DELETE ALL DATA on it?
" 10 65 " 14 65
if [ "$?" == "0" ]; then if [ "$?" == "0" ]; then
# 0 --> delete data # 0 --> delete data
@@ -14,6 +14,7 @@ Are you really sure that you want delete that old data?
# 1 --> cancel # 1 --> cancel
exit 1 exit 1
fi fi
fi
if [ "$1" == "keepblockchain" ]; then if [ "$1" == "keepblockchain" ]; then