From: Arne Fitzenreiter Date: Wed, 24 Nov 2021 02:43:47 +0000 (+0000) Subject: core162: remove old kernel X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=d63838f4b98ff518e9288ad55ce1085bddccfc1e core162: remove old kernel Signed-off-by: Arne Fitzenreiter --- 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