root/tmp/pre_upgrade_command @ fa92a6a4
1 | 75c7ac37 | Scott Ullrich | #!/bin/sh
|
---|---|---|---|
2 | |||
3 | 7aa216d6 | Scott Ullrich | /etc/rc.conf_mount_rw |
4 | |||
5 | 7a4e37e1 | Scott Ullrich | # Record the previous version
|
6 | PRIOR_VERSION=`uname -r | cut -d'.' -f1` |
||
7 | echo $PRIOR_VERSION > /tmp/pre_upgrade_version |
||
8 | 75c7ac37 | Scott Ullrich | |
9 | 28549cef | Scott Ullrich | mv /boot/kernel/pfsense_kernel.txt /tmp/pfsense_kernel.txt
|
10 | 828a371f | Scott Ullrich | rm /boot/kernel/* |
11 | 3636a300 | Scott Ullrich | mv /tmp/pfsense_kernel.txt /boot/kernel/
|