diff options
Diffstat (limited to 'kernel')
-rwxr-xr-x | kernel/update_kernel | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel index 0d08e01d4..6e43ceeb3 100755 --- a/kernel/update_kernel +++ b/kernel/update_kernel @@ -85,16 +85,12 @@ if [ "$ARCH" == "i386" ]; then #disable any existing resolution!!! /usr/sbin/rdev -v $i 65535 #788 #785 done -else - if [ "$ARCH" == "ppc" ]; then - cp -f "$KERNEL_BOOT_PATH"/boot/vmlinux . -else - if [ "$ARCH" == "ia64" ]; then - cp -f "$KERNEL_BOOT_PATH"/boot/efi/vmlinuz* . +elif [ "$ARCH" == "ppc" ]; then + cp -f "$KERNEL_BOOT_PATH"/boot/vmlinux . +elif [ "$ARCH" == "ia64" ]; then + cp -f "$KERNEL_BOOT_PATH"/boot/efi/vmlinuz* . else - cp -f "$KERNEL_BOOT_PATH"/boot/vmlinuz* . - fi - fi + cp -f "$KERNEL_BOOT_PATH"/boot/vmlinuz* . fi |