Update proxmenu-scripts.sh

This commit is contained in:
2026-03-07 15:03:47 -06:00
parent bddca99a91
commit e661de73e0

View File

@@ -209,7 +209,9 @@ RESTART_PVE_SERVICES(){
case "$choice" in case "$choice" in
[Nn]) echo;; [Nn]) echo;;
*) echo *) echo
echo -en "\n${idsCL[Yellow]}Restarting services ... "
systemctl restart pve-cluster pvedaemon pvestatd pveproxy systemctl restart pve-cluster pvedaemon pvestatd pveproxy
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
echo -e "\n${idsCL[Green]}This hosts Proxmox services have been restarted${idsCL[Default]}\n" echo -e "\n${idsCL[Green]}This hosts Proxmox services have been restarted${idsCL[Default]}\n"
[ ${action-x} ] && exit 0 || ENTER2CONTINUE [ ${action-x} ] && exit 0 || ENTER2CONTINUE
;; ;;
@@ -234,7 +236,7 @@ MAIN_MENU() {
echo -en " [${idsCL[LightYellow]}1${idsCL[Default]}] ${idsCL[White]}Run Post-Install Script${idsCL[Default]}" echo -en " [${idsCL[LightYellow]}1${idsCL[Default]}] ${idsCL[White]}Run Post-Install Script${idsCL[Default]}"
[ -f /opt/.PROXMENUX_POST_INSTALL ] && echo -e "${idsCL[Cyan]} - Has been ran prevously${idsCL[Default]}" || echo [ -f /opt/.PROXMENUX_POST_INSTALL ] && echo -e "${idsCL[Cyan]} - Has been ran prevously${idsCL[Default]}" || echo
if ! pvesh get /cluster/resources | grep -i pulse &> /dev/nul ; then if ! pvesh get /cluster/resources | grep -i pulse &> /dev/null ; then
echo -e " [${idsCL[LightYellow]}2${idsCL[Default]}] ${idsCL[White]}Install Pulse Monitoring${idsCL[Default]}" echo -e " [${idsCL[LightYellow]}2${idsCL[Default]}] ${idsCL[White]}Install Pulse Monitoring${idsCL[Default]}"
else else
echo -e "${idsCL[DarkGray]} [2] Pulse Monitoring is already installed${idsCL[Default]}" echo -e "${idsCL[DarkGray]} [2] Pulse Monitoring is already installed${idsCL[Default]}"