Update proxmenu-scripts.sh

This commit is contained in:
2026-03-06 20:42:01 -06:00
parent 334f32c344
commit 595a53c789

View File

@@ -238,14 +238,14 @@ MAIN_MENU() {
echo
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
if ! pvesh get /cluster/resources | grep -i pulse &> /dev/nul ; then
echo -e " [${idsCL[LightYellow]}2${idsCL[Default]}] ${idsCL[White]}Install Pulse Monitoring${idsCL[Default]}"
else
[ -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
echo -e " [${idsCL[LightYellow]}2${idsCL[Default]}] ${idsCL[White]}Install Pulse Monitoring${idsCL[Default]}"
else
echo -e "${idsCL[DarkGray]} [2] Pulse Monitoring is already installed${idsCL[Default]}"
fi
fi
echo
echo
if [ "$(systemctl is-active ITSPlatform)" != "active" ]; then
echo -e " [${idsCL[LightYellow]}3${idsCL[Default]}] ${idsCL[White]}Install ConnectWise RMM Agent${idsCL[Default]}"
echo -e " [${idsCL[LightYellow]}4${idsCL[Default]}] ${idsCL[White]}Install ScreenConnect Agent${idsCL[Default]}"
@@ -276,13 +276,13 @@ MAIN_MENU() {
fi
echo
if [ -f /var/lib/vz/template/iso/${VIRTIO_FILE} ]; then
if [ -f /var/lib/vz/template/iso/${VIRTIO_FILE} ]; then
echo -e "${idsCL[DarkGray]} [9] Current VirtIO drivers already downloaded to 'local' on this host${idsCL[Default]}"
elif [ -f /var/lib/vz/template/iso/virtio*.iso ]; then
echo -e " [${idsCL[LightYellow]}9${idsCL[Default]}] ${idsCL[LightGreen]}**${idsCL[White]}Download the available updated Win-VirtIO drivers to 'local' on this host${idsCL[Default]}"
else
echo -e " [${idsCL[LightYellow]}9${idsCL[Default]}] ${idsCL[White]}Download the current Win-VirtIO drivers to 'local' on this host${idsCL[Default]}"
fi
elif [ -f /var/lib/vz/template/iso/virtio*.iso ]; then
echo -e " [${idsCL[LightYellow]}9${idsCL[Default]}] ${idsCL[LightGreen]}**${idsCL[White]}Download the available updated Win-VirtIO drivers to 'local' on this host${idsCL[Default]}"
else
echo -e " [${idsCL[LightYellow]}9${idsCL[Default]}] ${idsCL[White]}Download the current Win-VirtIO drivers to 'local' on this host${idsCL[Default]}"
fi
echo
echo -e " [${idsCL[LightYellow]}0${idsCL[Default]}] ${idsCL[White]}Detect CPU-Arch for Live Migrations${idsCL[Default]}"
@@ -306,8 +306,7 @@ MAIN_MENU() {
[8]) INSTALL_OMSA;;
[9]) DOWNLOAD_VIRTIO;;
[0]) DETECT_CPU;;
[Qq])
EXIT1
[Qq]) EXIT1
exit 0;;
*) echo "Thats an invaild option,";
echo "please select a valid option only.";