mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
edit dialog
This commit is contained in:
@@ -105,14 +105,12 @@ if [ "$1" = "on" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
whiptail --title " FORMATTING DEVICE " --yes-button "Cancel" --no-button "FORMAT" --yesno "Will format the following device as Backup drive:
|
whiptail --title " FORMATTING DEVICE " --yes-button "FORMAT" --no-button "Cancel" --yesno "Will format the following device as Backup drive:
|
||||||
${backupCandidate[0]}
|
${backupCandidate[0]}
|
||||||
|
|
||||||
THIS WILL DELETE ALL DATA ON THAT DEVICE!
|
THIS WILL DELETE ALL DATA ON THAT DEVICE!
|
||||||
" 10 60
|
" 10 55
|
||||||
echo $?
|
if [ $? -gt 0 ]; then
|
||||||
exit 1
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
echo "# CANCEL"
|
echo "# CANCEL"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user