From 961ee8d032ba0688e2e4970e2bf33775eb93c3cf Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 9 Nov 2008 00:15:11 +0000 Subject: [PATCH] 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. --- tmp/pre_upgrade_command | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tmp/pre_upgrade_command b/tmp/pre_upgrade_command index 4f5732afa2..dd62ad1cb0 100644 --- a/tmp/pre_upgrade_command +++ b/tmp/pre_upgrade_command @@ -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