mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
be38535c65
commit
828a371f1d
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user