diff --git a/tmp/pre_upgrade_command b/tmp/pre_upgrade_command index 65c0c1dc32..0556e19aba 100644 --- a/tmp/pre_upgrade_command +++ b/tmp/pre_upgrade_command @@ -4,3 +4,7 @@ PRIOR_VERSION=`uname -r | cut -d'.' -f1` echo $PRIOR_VERSION > /tmp/pre_upgrade_version +mv /tmp/pfsense_kernel.txt /tmp/pfsense_kernel.txt +rm /boot/kernel/* +mv /tmp/pfsense_kernel.txt +