mirror of https://github.com/tteck/Proxmox.git
Update kernel-clean-v3.sh
This commit is contained in:
parent
58aca2277e
commit
ea5b2d9001
|
@ -94,7 +94,7 @@ msg_ok "Kernel Search Completed\n"
|
|||
read -p "Would you like to remove the $(echo $remove_kernels | awk '{print NF}') selected Kernels listed above? [y/n]: " -n 1 -r
|
||||
echo
|
||||
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}"
|
||||
/usr/bin/apt purge -y $remove_kernels > /dev/null 2>&1
|
||||
msg_ok "Successfully Removed Kernels"
|
||||
msg_info "Updating GRUB"
|
||||
|
|
Loading…
Reference in New Issue