mirror of https://github.com/tteck/Proxmox.git
Update kernel-clean.sh
This commit is contained in:
parent
0fed77a0c5
commit
4984b5d6f5
|
@ -69,7 +69,7 @@ function kernel_clean {
|
||||||
printf "Removing $(echo $kernels_to_remove | awk '{print NF}') old Kernels..."
|
printf "Removing $(echo $kernels_to_remove | awk '{print NF}') old Kernels..."
|
||||||
/usr/bin/apt purge -y $kernels_to_remove > /dev/null 2>&1
|
/usr/bin/apt purge -y $kernels_to_remove > /dev/null 2>&1
|
||||||
printf "Finished!\n"
|
printf "Finished!\n"
|
||||||
printf "Updating GRUB..."
|
printf "Updating GRUB... \n"
|
||||||
/usr/sbin/update-grub > /dev/null 2>&1
|
/usr/sbin/update-grub > /dev/null 2>&1
|
||||||
printf "Finished!\n"
|
printf "Finished!\n"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue