Comment 51 for bug 267141

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 267141] Re: suspend button disappears after pm-utils upgraded to 1.1.2.4-1ubuntu2

On Fri, 2008-10-10 at 09:20 +0000, James Westby wrote:
> On Fri, 2008-10-10 at 01:51 +0000, hyperair wrote:
> > The config file you dropped in /etc/pm/config.d looks a tad bit like a
> > block of code taken out of /usr/lib/pm-utils/defaults. Doesn't that seem
> > a little redundant? I mean, that particular functionality can be gotten
> > by just modifying the SLEEP_MODULE in the file I mentioned above.
>
> Hi,
>
> Yes, that's where it is taken from.
>
> You can't edit /usr/lib/pm-utils/defaults, as your changes would just be
> overwritten on upgrades.
>
> Thanks,
>
> James
>
Ah yes, that's a good point. Then wouldn't it be a good idea to remove
the block from /usr/lib/pm-utils/defaults? Having it in two places is
redundant and can cause confusion.
--
Chow Loong Jin