Update proxmenu-scripts.sh
This commit is contained in:
@@ -209,7 +209,9 @@ RESTART_PVE_SERVICES(){
|
||||
case "$choice" in
|
||||
[Nn]) echo;;
|
||||
*) echo
|
||||
echo -en "\n${idsCL[Yellow]}Restarting services ... "
|
||||
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"
|
||||
[ ${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]}"
|
||||
[ -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]}"
|
||||
else
|
||||
echo -e "${idsCL[DarkGray]} [2] Pulse Monitoring is already installed${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user