Show Table of Contents
为了尽快向用户提供最新的信息,本文档可能会包括由机器自动从英文原文翻译的内容。如需更多信息,请参阅此说明。
30.3. 在引导时运行其他的程序
/etc/rc.d/rc.local
脚本是在引导时被 init
命令执行或者是在切换运行级别时被执行。你可以在这个脚本的最后加入命令来执行某些必需的任务,如启动特殊的服务或初始化设备,而不需要在 /etc/rc.d/init.d/
目录里编写复杂的初始化脚本并创建符号链接。
The
/etc/rc.serial
script is used if serial ports must be setup at boot time. This script runs setserial
commands to configure the system's serial ports. Refer to the setserial
man page for more information.
为了尽快向用户提供最新的信息,本文档可能会包括由机器自动从英文原文翻译的内容。如需更多信息,请参阅此说明。