mirror of https://github.com/tteck/Proxmox.git
Update kernel-clean-v3.sh
This commit is contained in:
parent
dc518e47a3
commit
58aca2277e
|
@ -91,7 +91,7 @@ msg_ok "Kernel Search Completed\n"
|
||||||
sleep 2
|
sleep 2
|
||||||
msg_ok "Done"
|
msg_ok "Done"
|
||||||
else
|
else
|
||||||
read -p "${YW}Would you like to remove the${BL} $(echo $remove_kernels | awk '{print NF}') ${CL}${YW}selected Kernels listed above? [y/n]: ${CL}" -n 1 -r
|
read -p "Would you like to remove the $(echo $remove_kernels | awk '{print NF}') selected Kernels listed above? [y/n]: " -n 1 -r
|
||||||
echo
|
echo
|
||||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||||
msg_info "Removing ${CL}${RD}$(echo $remove_kernels | awk '{print NF}') ${CL}${YW}old Kernels...${CL}"
|
msg_info "Removing ${CL}${RD}$(echo $remove_kernels | awk '{print NF}') ${CL}${YW}old Kernels...${CL}"
|
||||||
|
|
Loading…
Reference in New Issue