Move pfsense_kernel.txt to /tmp and remove /boot/kernel/* contents so we

are guarantee'd a fresh kernel directory (note freebsd kernel install moves
the old kernel directory to kernel.old so this is very similar.
This commit is contained in:
Scott Ullrich 2008-11-09 00:15:11 +00:00
parent a050f7a659
commit 961ee8d032

View File

@ -4,4 +4,6 @@
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