[Pm-utils] Re: Resume via quirks, not using the DBUS method, Was: Release Candidates ?

Peter Jones pjones at redhat.com
Wed Mar 14 07:49:31 PDT 2007


On Fri, 2007-03-09 at 16:47 +0100, Stefan Seyfried wrote:
> On Tue, Mar 06, 2007 at 12:51:48PM -0500, Peter Jones wrote:
> > On Tue, 2007-03-06 at 18:23 +0100, Michael Biebl wrote:
> > > 2007/3/6, Peter Jones <pjones at redhat.com>:
> > > >
> > > > I find myself wondering if /etc/pm/config shouldn't really
> > > > be /usr/lib/pm-utils/config , actually.  That would make /etc/pm
> > > > entirely the domain of the admin (and any ISV software he adds)
> > > 
> > > Imo putting config files in /usr/lib/ is a bad idea. No one expects
> > > them in /usr/lib, Debian policies forbid it and I also think the FHS
> > > does not promote this.
> > 
> > But that's the point -- they're not config files, they're system
> > scripts.  *All* of the behavior can be configured through the files
> > under /etc/pm/ .  Really the file named "config" is more like "default
> > configuration".
> 
> #!/bin/sh
> #######################################################
> # DO NOT EDIT THIS FILE, edit /etc/pm/config instead! #
> #######################################################
> ....

Applied, as:

--- ChangeLog   13 Mar 2007 14:06:51 -0000      1.66
+++ ChangeLog   14 Mar 2007 14:47:19 -0000
@@ -1,4 +1,9 @@
-2007-03-06  Peter Jones  <pjones at redhat.com>
+2007-03-14  Peter Jones  <pjones at redhat.com>
+
+       * pm/defaults:
+       - add comment text (from Stefan)
+
+2007-03-13  Peter Jones  <pjones at redhat.com>
 
        * configure.in:
        - bump version to 0.99.2
Index: pm/defaults
===================================================================
RCS file: /cvs/pm-utils/pm-utils/pm/defaults,v
retrieving revision 1.1
diff -u -p -r1.1 defaults
--- pm/defaults 6 Mar 2007 19:08:05 -0000       1.1
+++ pm/defaults 14 Mar 2007 14:47:19 -0000
@@ -1,3 +1,8 @@
+
+##########################################################
+# DO NOT EDIT THIS FILE, edit /etc/pm/config.d/ instead! #
+##########################################################
+
 SUSPEND_MODULES="button"
 
 HIBERNATE_RESUME_POST_VIDEO="no"

-- 
  Peter



More information about the Pm-utils mailing list