/etc/pm/config.d和的目的是/etc/pm/power.d什么?据我所知,脚本/etc/pm/sleep.d是在电源管理事件(例如计算机睡眠、休眠、恢复和解冻)时运行的。
我将config.d和power.d目录用于什么?
/etc/pm/config.d
The files in this directory are evaluated in C sort order. These
files can be provided by individual packages outside of pm-utils.
If a global configuration variable is set, the value set to will be
appended to the previous value. If any other variable is set, it
will be ignored. The syntax is simply: VAR_NAME = value. See the
CONFIGURATION VARIABLES section for valid variables defined by
pm-utils. External packages can define others, see their respective
documentation for more information.
Run Code Online (Sandbox Code Playgroud)
电源状态的挂钩位于
/usr/lib/pm-utils/power.d
distribution / package provided hooks
Run Code Online (Sandbox Code Playgroud)
/etc/pm/power.d
hooks added by the system administrator
Hooks in /etc/pm/ take precedence over those in /usr/lib/pm-utils/, so the system administrator can override the defaults provided by the distribution.
Run Code Online (Sandbox Code Playgroud)
例如检查此链接
| 归档时间: |
|
| 查看次数: |
7878 次 |
| 最近记录: |