Files
tldr/pages.zh/linux/ledctl.md

20 lines
511 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ledctl
> 英特尔(R) 外壳 LED 控制应用程序。
> 更多信息:<https://manned.org/ledctl>。
- 为指定设备打开 "定位" LED
`sudo ledctl locate={{/dev/sda,/dev/sdb,...}}`
- 为指定设备关闭 "定位" LED
`sudo ledctl locate_off={{/dev/sda,/dev/sdb,...}}`
- 为指定设备关闭 "状态" LED 和 "故障" LED
`sudo ledctl off={{/dev/sda,/dev/sdb,...}}`
- 为指定设备关闭 "状态" LED、"故障" LED 和 "定位" LED
`sudo ledctl normal={{/dev/sda,/dev/sdb,...}}`