diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2011-01-28 17:09:09 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2011-01-28 17:09:17 -0500 |
commit | a3755fe7df668052777037203ab971b0c19be6de (patch) | |
tree | 2488c5d5cfdce7d5aeabd742e691380778993d04 | |
parent | 20413b72bfd31282276c8ac2a116014f92914d4e (diff) | |
download | pfsense-a3755fe7df668052777037203ab971b0c19be6de.zip pfsense-a3755fe7df668052777037203ab971b0c19be6de.tar.gz |
Exclude loader.conf from being update during kernel update
-rwxr-xr-x | tmp/post_upgrade_command | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command index ed49d0a..99285e4 100755 --- a/tmp/post_upgrade_command +++ b/tmp/post_upgrade_command @@ -5,24 +5,24 @@ KERNELTYPE=`cat /boot/kernel/pfsense_kernel.txt` if [ $KERNELTYPE = "wrap" ]; then if [ -f /kernels/kernel_wrap.gz ]; then - tar xzpf /kernels/kernel_wrap.gz -C /boot/ + tar xzpf /kernels/kernel_wrap.gz --exclude loader.conf -C /boot/ cp /etc/ttys_wrap /etc/ttys fi fi if [ $KERNELTYPE = "Developers" ]; then if [ -f /kernels/kernel_Dev.gz ]; then - tar xzpf /kernels/kernel_Dev.gz -C /boot/ + tar xzpf /kernels/kernel_Dev.gz --exclude loader.conf -C /boot/ cp /boot/kernel/kernel.gz fi fi if [ $KERNELTYPE = "SMP" ]; then if [ -f /kernels/kernel_SMP.gz ]; then - tar xzpf /kernels/kernel_SMP.gz -C /boot/ + tar xzpf /kernels/kernel_SMP.gz --exclude loader.conf -C /boot/ fi fi if [ $KERNELTYPE = "UP" ]; then if [ -f /kernels/kernel_SMP.gz ]; then - tar xzpf /kernels/kernel_uniprocessor.gz -C /boot/ + tar xzpf /kernels/kernel_uniprocessor.gz --exclude loader.conf -C /boot/ fi fi |