?? install.sh
字號(hào):
#!/bin/sh## arch/arm/boot/install.sh## This file is subject to the terms and conditions of the GNU General Public# License. See the file "COPYING" in the main directory of this archive# for more details.## Copyright (C) 1995 by Linus Torvalds## Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin# Adapted from code in arch/i386/boot/install.sh by Russell King## "make install" script for arm architecture## Arguments:# $1 - kernel version# $2 - kernel image file# $3 - kernel map file# $4 - default install path (blank if root directory)## User may have a custom install scriptif [ -x /sbin/installkernel ]; then exec /sbin/installkernel "$@"fiif [ "$2" = "zImage" ]; then# Compressed install echo "Installing compressed kernel" if [ -f $4/vmlinuz-$1 ]; then mv $4/vmlinuz-$1 $4/vmlinuz.old fi if [ -f $4/System.map-$1 ]; then mv $4/System.map-$1 $4/System.old fi cat $2 > $4/vmlinuz-$1 cp $3 $4/System.map-$1else# Normal install echo "Installing normal kernel" if [ -f $4/vmlinux-$1 ]; then mv $4/vmlinux-$1 $4/vmlinux.old fi if [ -f $4/System.map ]; then mv $4/System.map $4/System.old fi cat $2 > $4/vmlinux-$1 cp $3 $4/System.mapfiif [ -x /sbin/loadmap ]; then /sbin/loadmap --rdev /dev/imaelse echo "You have to install it yourself"fi
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -