From f96c78f36676f7d496759ae0e2d920067273e0bc Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 18 Nov 2024 18:45:12 +0100 Subject: [PATCH] Update cockpit.sh --- ct/cockpit.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/cockpit.sh b/ct/cockpit.sh index 28aeed87..213817e7 100644 --- a/ct/cockpit.sh +++ b/ct/cockpit.sh @@ -54,6 +54,9 @@ function default_settings() { } function update_script() { +header_info +check_container_storage +check_container_resources if [[ ! -d /etc/cockpit ]]; then msg_error "No ${APP} Installation Found!"; exit; fi UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 4 \ "1" "Update LXC" ON \ @@ -62,9 +65,6 @@ UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radio "4" "Install cockpit-navigator" OFF \ 3>&1 1>&2 2>&3) -header_info -check_container_storage -check_container_resources if [ "$UPD" == "1" ]; then msg_info "Updating ${APP} LXC" apt-get update &>/dev/null