From 828a371f1d6fe4e1fa066609f2df46692bd8aeb6 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 9 Nov 2008 00:14:14 +0000 Subject: 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, 4 insertions(+) (limited to 'tmp/pre_upgrade_command') diff --git a/tmp/pre_upgrade_command b/tmp/pre_upgrade_command index 65c0c1d..0556e19 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 + -- cgit v1.1