Какова цель /etc/pm/config.d и power.d?

Какова цель /etc/pm/config.d и /etc/pm/power.d? Я понимаю, что сценарии в /etc/pm/sleep.d выполняются во время события управления питанием, такого как компьютер, находящийся в спящем режиме, в режиме гибернации, возобновлении работы и оттаивании.

Для чего мне использовать каталоги config.d и power.d?

5
задан 31 January 2014 в 22:09

1 ответ

  /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.

Крючки для состояния питания размещены в

/usr/lib/pm-utils/power.d

distribution / package provided hooks 

/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. 

Например, проверьте эту ссылку

0
ответ дан 31 January 2014 в 22:09

Другие вопросы по тегам:

Похожие вопросы: