Update proxmenu-scripts.sh
This commit is contained in:
1 parent
285241081b
commit
d130c1f670
1 file changed
+5
-1
+5
-1
@@ -219,7 +219,11 @@ RESTART_PVE_SERVICES(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
MAINTENANCE_MODE(){
|
MAINTENANCE_MODE(){
|
||||||
|
if [ $(ha-manager status | grep -q "maintenance-mode") ]; then
|
||||||
|
echo -en "${idsCL[LightCyan]}Take the local host out of maintenance mode (Y/n)?${idsCL[Default]} "
|
||||||
|
else
|
||||||
|
echo -en "${idsCL[LightCyan]Put the local host into maintenance mode (Y/n)?${idsCL[Default]} "
|
||||||
|
fi
|
||||||
read -n 1 choice
|
read -n 1 choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
[Nn]) echo;;
|
[Nn]) echo;;
|
||||||
|
|||||||
Reference in new issue
Block a user