修复 cpupower 文案

This commit is contained in:
CallMeR
2023-10-14 22:36:54 +08:00
parent 7eda1b4eef
commit e31338113d
+6 -6
View File
@@ -163,10 +163,10 @@ performance powersave
- CPU 驱动为 `intel_pstate` 时,推荐使用 `powersave` 调度器。
本文使用 `powersave` 调度器为演示,使用 `nano` 编辑器创建 `linux-cpupower` 的配置文件。
本文使用 `powersave` 调度器为演示,使用 `nano` 编辑器创建 `cpupower` 的配置文件。
```bash
## 创建 linux-cpupower 配置文件
## 创建 cpupower 配置文件
$ nano /etc/default/cpupower
```
@@ -181,10 +181,10 @@ CPUPOWER_STOP_OPTS="frequency-set -g performance"
```
使用 `nano` 编辑器创建 `linux-cpupower` 服务配置文件,以满足系统自动化设置需求。
使用 `nano` 编辑器创建 `cpupower` 服务配置文件,以满足系统自动化设置需求。
```bash
## 创建 linux-cpupower 服务配置文件
## 创建 cpupower 服务配置文件
$ nano /usr/lib/systemd/system/cpupower.service
```
@@ -218,10 +218,10 @@ WantedBy=multi-user.target
$ systemctl daemon-reload
```
使用以下命令让 `linux-cpupower` 服务开机自启动。
使用以下命令让 `cpupower` 服务开机自启动。
```bash
## 设置 PPPoE 拨号服务开机自启
## 设置 cpupower 拨号服务开机自启
$ systemctl enable cpupower.service
```