-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
layout: post | ||
title: "linux开机启动" | ||
date: 2021-09-15 10:46:16 | ||
categories: [linux] | ||
tags: [linux, kernel] | ||
excerpt_separator: <!--more--> | ||
--- | ||
linux开机启动 | ||
<!--more--> | ||
|
||
|
||
linux中`rc[x].d`文件夹是不同级别的开机启动项 | ||
通过`runlevel`确定系统从哪个级别启动,以下是从级别5启动,所以需要修改`rc5.d` | ||
```bash | ||
bash#4.1:~# runlevel | ||
N 5 | ||
``` | ||
|
||
`rc[x].d`中脚本也有级别一般以S##/K##代表级别。 | ||
例如:`S99local.sh` |