This commit is contained in:
2026-04-16 22:17:49 -05:00
parent b812016c8d
commit 84a9827e10
2 changed files with 8 additions and 4 deletions
+7 -3
View File
@@ -218,9 +218,13 @@ DETECT_CPU(){
}
RESTART_PVE_SERVICES(){
echo -en "${idsCL[LightCyan]}Would you like to restart all Proxmox services on the local host (Y/n)?${idsCL[Default]} "
read -n 1 choice
case "$choice" in
if [ "${1}" == "" ]; then
echo -en "${idsCL[LightCyan]}Would you like to restart all Proxmox services on the local host (Y/n)?${idsCL[Default]} "
read -n 1 choice
else
choice=${1}
fi
case "${choice}" in
[Nn]) echo;;
*) echo
echo -en "\n${idsCL[Yellow]}Restarting services ... "