mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
11 lines
172 B
Bash
11 lines
172 B
Bash
#!/bin/sh
|
|
|
|
/etc/rc.conf_mount_rw
|
|
|
|
# Record the previous version
|
|
PRIOR_VERSION=`uname -r | cut -d'.' -f1`
|
|
echo $PRIOR_VERSION > /tmp/pre_upgrade_version
|
|
|
|
rm /boot/kernel/*
|
|
|