update
This commit is contained in:
+7
-3
@@ -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 ... "
|
||||
|
||||
Reference in New Issue
Block a user