[25642] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r25138 -

daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Wed Jun 15 17:48:42 2011

Date: Wed, 15 Jun 2011 17:48:34 -0400 (EDT)
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Jonathan D Reed <jdreed@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <201106151353.p5FDrQaw019697@drugstore.mit.edu>
Message-ID: <alpine.GSO.1.10.1106151747470.6818@multics.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Wed, 15 Jun 2011, Jonathan D Reed wrote:

>
> Added: trunk/debathena/config/cluster-login-config/debian/disable-hibernate.pkla
> ===================================================================
> --- trunk/debathena/config/cluster-login-config/debian/disable-hibernate.pkla	                        (rev 0)
> +++ trunk/debathena/config/cluster-login-config/debian/disable-hibernate.pkla	2011-06-15 13:53:26 UTC (rev 25138)
> @@ -0,0 +1,5 @@
> +[Disable hibernate]
> +Identity=unix-user:*
> +Action=org.freedesktop.upower.hibernate
> +ResultActive=no
> +ResultAny=no
>
> Added: trunk/debathena/config/cluster-login-config/debian/disable-suspend.pkla
> ===================================================================
> --- trunk/debathena/config/cluster-login-config/debian/disable-suspend.pkla	                        (rev 0)
> +++ trunk/debathena/config/cluster-login-config/debian/disable-suspend.pkla	2011-06-15 13:53:26 UTC (rev 25138)
> @@ -0,0 +1,5 @@
> +[Disable suspend]
> +Identity=unix-user:*
> +Action=org.freedesktop.upower.suspend
> +ResultActive=no
> +ResultAny=no

Skimming pklocalauthority(8) is unclear whether ResultAny will supercede 
ResultActive; in any case, this ought to work.

-Ben

home help back first fref pref prev next nref lref last post