blob: 7ac65b2307120b010cac3079a6a4f3e2b6f7d18a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
touch /var/run/config.lock
/etc/rc.conf_mount_rw
# Now turn on or off serial console as needed
php -f /tmp/post_upgrade_command.php
rm /var/run/config.lock
KERNELTYPE=`cat /boot/kernel/pfsense_kernel.txt`
if [ $KERNELTYPE = "wrap" ]; then
cp /kernels/kernel_SMP.gz /boot/kernel/kernel.gz
fi
if [ $KERNELTYPE = "Developers" ]; then
cp /kernels/kernel_Dev.gz /boot/kernel/kernel.gz
fi
if [ $KERNELTYPE = "SMP" ]; then
cp /kernels/kernel_SMP.gz /boot/kernel/kernel.gz
fi
rm -rf /kernels/*
|