install.sh

来自「内核linux2.4.20,可跟rtlinux3.2打补丁 组成实时linux系」· Shell 代码 · 共 41 行

SH
41
字号
#!/bin/sh## arch/i386/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## "make install" script for i386 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 ~/bin/installkernel ]; then exec ~/bin/installkernel "$@"; fiif [ -x /sbin/installkernel ]; then exec /sbin/installkernel "$@"; fi# Default install - same as make zliloif [ -f $4/vmlinuz ]; then	mv $4/vmlinuz $4/vmlinuz.oldfiif [ -f $4/System.map ]; then	mv $4/System.map $4/System.oldficat $2 > $4/vmlinuzcp $3 $4/System.mapif [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?