Update heimdalldashboard.sh

update warning
This commit is contained in:
tteckster 2024-02-18 20:46:59 -05:00 committed by GitHub
parent 05c8093bd7
commit b7bfe7df14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -55,7 +55,11 @@ function default_settings() {
function update_script() { function update_script() {
header_info header_info
if [[ ! -d /opt/Heimdall ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -d /opt/Heimdall ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "WARNING" "Currently, v2.6.0 breaks the application." 8 58 if ! whiptail --backtitle "Proxmox VE Helper Scripts" --title "WARNING" --yesno "Currently, v2.6.0 breaks the application. Proceed?" 10 58; then
clear
echo -e "⚠ User exited script \n"
exit
fi
msg_info "Stopping ${APP}" msg_info "Stopping ${APP}"
systemctl disable heimdall.service &>/dev/null systemctl disable heimdall.service &>/dev/null
systemctl stop heimdall systemctl stop heimdall