Skip to content

Commit 423048d

Browse files
author
Mike Seidle
committed
Update docs
1 parent 486e5dd commit 423048d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ GNU GPL V2 - http://www.gnu.org/licenses/gpl-2.0.html
99
What's in here?
1010
---------------
1111
* /ubuntu - Ubuntu specific scripts
12-
* *clean-kernel-images.sh* - Script for removing old kernels from /boot. In other news, Ubuntu server defaults to a tiny /boot partition and after 5-10 upgrades it runs out of space.
12+
* *clean-kernel-images.sh* - Script for removing old kernels from /boot. Useful when /boot is full. In other news, Ubuntu server defaults to a tiny /boot partition and after 5-10 upgrades it runs out of space if your forget to autoclean.
13+
1314

ubuntu/clean-kernel-images.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# clean-kernel-images.sh
44
# ----------------------
55
# removes old kernel images from /boot
6+
#
7+
# useful when apt cannot run becasue your /boot drive is full.
68
#
79
# does so by creating a list of kernel images in /tmp/oldimages and
810
# then calling apt-get purge for each. Use this two ways:
@@ -34,4 +36,4 @@ function cleankernelimages()
3436
{
3537
cleankernelimages
3638
removeoldkernels
37-
}
39+
}

0 commit comments

Comments
 (0)