Update chkconfig.md

This commit is contained in:
小弟调调™ 2017-07-25 15:53:04 +08:00 committed by GitHub
parent ada160c3fb
commit 415f513fa8
1 changed files with 4 additions and 4 deletions

View File

@ -9,13 +9,13 @@ chkconfig
### 语法
```
```bash
chkconfig(选项)
```
### 选项
```
```bash
--add增加所指定的系统服务让chkconfig指令得以管理它并同时在系统启动的叙述文件内增加相关数据
--del删除所指定的系统服务不再由chkconfig指令管理并同时在系统启动的叙述文件内删除相关数据
--level<等级代号>:指定读系统服务要在哪一个执行等级中开启或关毕。
@ -48,7 +48,7 @@ chkconfig(选项)
例如random.init包含三行
```
```bash
# chkconfig: 2345 20 80
# description: Saves and restores system entropy pool for \
# higher quality random number generation.
@ -56,7 +56,7 @@ chkconfig(选项)
### 实例
```
```bash
chkconfig --list #列出所有的系统服务
chkconfig --add httpd #增加httpd服务
chkconfig --del httpd #删除httpd服务