update
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
action="$1"
|
||||
FOLDER='/opt/idssys/ta-proxmenu'
|
||||
VERS='2026.3.13-6'
|
||||
VERS='2026.3.13-9'
|
||||
|
||||
RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)
|
||||
|
||||
|
||||
@@ -255,6 +255,7 @@ MAINTENANCE_MODE(){
|
||||
|
||||
MAIN_MENU() {
|
||||
CRES=$(pvesh get /cluster/resources)
|
||||
HAS=$(ha-manager status)
|
||||
while :
|
||||
do
|
||||
clear
|
||||
@@ -314,7 +315,7 @@ MAIN_MENU() {
|
||||
echo -e "${idsCL[DarkGray]} [S] ScreenConnect is already installed${idsCL[Default]}"
|
||||
fi
|
||||
echo
|
||||
if ha-manager status | grep "maintenance mode" &> /dev/null; then
|
||||
if echo ${HAS} | grep "maintenance mode" &> /dev/null; then
|
||||
echo -e "${idsCL[White]} [${idsCL[LightYellow]}M${idsCL[Default]}] ${idsCL[White]}Take Host out of Maintenance Mode${idsCL[Default]}"
|
||||
else
|
||||
echo -e "${idsCL[White]} [${idsCL[LightYellow]}M${idsCL[Default]}] ${idsCL[White]}Put Host into Maintenance Mode${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user