[Pm-utils] config files

David Zeuthen david at fubar.dk
Thu Apr 27 09:03:25 PDT 2006


On Thu, 2006-04-27 at 09:13 +0100, Richard Hughes wrote:
> Okay, so we need a tiny config file for modules to unload and if to
> resume the video bios after a hibernate.
> 
> In CVS at the moment, it's called pm.sysconfig
> 
> I want to rename it to just "config" to better reflect what it is, and
> also move away from the sysconfig name.
> 
> Problems? Objections?

I really think that if you provide a config file you really want to
provide a config.d directory too where RPM's can drop in configuration
files and do e.g. 

 PM_STOP_START_SERVICE_ON_SLEEP="$PM_STOP_START_SERVICE_ON_SLEEP some-lame-service"

So I'd say use

 /etc/pm/config     <-- main config file
 /etc/pm/config.d/  <-- directory for 3rd party packages

Another question? Where is all of this going to be documented?

    David




More information about the Pm-utils mailing list