From d63838f4b98ff518e9288ad55ce1085bddccfc1e Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 24 Nov 2021 02:43:47 +0000 Subject: [PATCH] core162: remove old kernel Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/162/update.sh | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/config/rootfiles/core/162/update.sh b/config/rootfiles/core/162/update.sh index 2569014a90..fe46ce4f01 100644 --- a/config/rootfiles/core/162/update.sh +++ b/config/rootfiles/core/162/update.sh @@ -72,17 +72,16 @@ if [ $ROOTSPACE -lt 100000 ]; then fi # Remove the old kernel -#rm -rf /boot/System.map-* -#rm -rf /boot/config-* -#rm -rf /boot/ipfirerd-* -#rm -rf /boot/initramfs-* -#rm -rf /boot/vmlinuz-* -#rm -rf /boot/uImage-*-ipfire-* -#rm -rf /boot/zImage-*-ipfire-* -#rm -rf /boot/uInit-*-ipfire-* -#rm -rf /boot/dtb-*-ipfire-* -#rm -rf /lib/modules - +rm -rf /boot/System.map-* +rm -rf /boot/config-* +rm -rf /boot/ipfirerd-* +rm -rf /boot/initramfs-* +rm -rf /boot/vmlinuz-* +rm -rf /boot/uImage-*-ipfire-* +rm -rf /boot/zImage-*-ipfire-* +rm -rf /boot/uInit-*-ipfire-* +rm -rf /boot/dtb-*-ipfire-* +rm -rf /lib/modules # Stop services -- 2.39.2