summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-07-20 17:08:23 -0400
committerRay Strode <rstrode@redhat.com>2009-07-20 17:22:49 -0400
commit89b9256ad86ddc2a9fd12d3359bc431df45c6b25 (patch)
tree5b03752d369af57bbc92593c623006f4a177bbc9 /data
parent282c47eb102f839cbf3bee646ba2841362284760 (diff)
Port to PolicyKit 1.0 apis
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am2
-rw-r--r--data/org.freedesktop.consolekit.policy4
2 files changed, 3 insertions, 3 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index fb245b7..041b431 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -7,7 +7,7 @@ seatdir = $(sysconfdir)/ConsoleKit/seats.d
seat_DATA = 00-primary.seat
if HAVE_POLKIT
-polkit_policydir = $(datadir)/PolicyKit/policy
+polkit_policydir = $(datadir)/polkit-1/actions
dist_polkit_policy_DATA = \
org.freedesktop.consolekit.policy \
$(NULL)
diff --git a/data/org.freedesktop.consolekit.policy b/data/org.freedesktop.consolekit.policy
index a5953f4..a709b39 100644
--- a/data/org.freedesktop.consolekit.policy
+++ b/data/org.freedesktop.consolekit.policy
@@ -23,7 +23,7 @@ Policy definitions for ConsoleKit
<message>System policy prevents stopping the system when other users are logged in</message>
<defaults>
<allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep_always</allow_active>
+ <allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
@@ -41,7 +41,7 @@ Policy definitions for ConsoleKit
<message>System policy prevents restarting the system when other users are logged in</message>
<defaults>
<allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep_always</allow_active>
+ <allow_active>auth_admin_keep</allow_active>
</defaults>
</action>