root/tmp/pre_upgrade_command @ 102b2d8a
1 |
#!/bin/sh
|
---|---|
2 |
|
3 |
/etc/rc.conf_mount_rw |
4 |
|
5 |
# Record the previous version
|
6 |
PRIOR_VERSION=`uname -r | cut -d'.' -f1` |
7 |
echo $PRIOR_VERSION > /tmp/pre_upgrade_version |
8 |
|
9 |
mv /boot/kernel/pfsense_kernel.txt /tmp/pfsense_kernel.txt
|
10 |
rm /boot/kernel/* |
11 |
mv /tmp/pfsense_kernel.txt /boot/kernel/
|
- « Previous
- 1
- 2
- 3
- Next »