Update proxmenu-scripts.sh
This commit is contained in:
@@ -238,14 +238,14 @@ MAIN_MENU() {
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
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/nul ; 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]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
if [ "$(systemctl is-active ITSPlatform)" != "active" ]; then
|
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]}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]}"
|
echo -e " [${idsCL[LightYellow]}4${idsCL[Default]}] ${idsCL[White]}Install ScreenConnect Agent${idsCL[Default]}"
|
||||||
@@ -276,13 +276,13 @@ MAIN_MENU() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
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]}"
|
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
|
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]}"
|
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
|
else
|
||||||
echo -e " [${idsCL[LightYellow]}9${idsCL[Default]}] ${idsCL[White]}Download the current Win-VirtIO drivers to 'local' on this host${idsCL[Default]}"
|
echo -e " [${idsCL[LightYellow]}9${idsCL[Default]}] ${idsCL[White]}Download the current Win-VirtIO drivers to 'local' on this host${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo -e " [${idsCL[LightYellow]}0${idsCL[Default]}] ${idsCL[White]}Detect CPU-Arch for Live Migrations${idsCL[Default]}"
|
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;;
|
[8]) INSTALL_OMSA;;
|
||||||
[9]) DOWNLOAD_VIRTIO;;
|
[9]) DOWNLOAD_VIRTIO;;
|
||||||
[0]) DETECT_CPU;;
|
[0]) DETECT_CPU;;
|
||||||
[Qq])
|
[Qq]) EXIT1
|
||||||
EXIT1
|
|
||||||
exit 0;;
|
exit 0;;
|
||||||
*) echo "Thats an invaild option,";
|
*) echo "Thats an invaild option,";
|
||||||
echo "please select a valid option only.";
|
echo "please select a valid option only.";
|
||||||
|
|||||||
Reference in New Issue
Block a user