summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-09 00:15:11 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-09 00:15:11 +0000
commit961ee8d032ba0688e2e4970e2bf33775eb93c3cf (patch)
tree3184bf0eda50fe05037539c1fc7ae45bdd07d356 /tmp
parenta050f7a659faf5b48ef8c4158cead2e3eb184974 (diff)
downloadpfsense-961ee8d032ba0688e2e4970e2bf33775eb93c3cf.zip
pfsense-961ee8d032ba0688e2e4970e2bf33775eb93c3cf.tar.gz
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.
Diffstat (limited to 'tmp')
-rw-r--r--tmp/pre_upgrade_command4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmp/pre_upgrade_command b/tmp/pre_upgrade_command
index 4f5732a..dd62ad1 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
OpenPOWER on IntegriCloud