aboutsummaryrefslogtreecommitdiffstats
path: root/org.mageia.remove-old-kernels.policy
diff options
context:
space:
mode:
Diffstat (limited to 'org.mageia.remove-old-kernels.policy')
-rw-r--r--org.mageia.remove-old-kernels.policy22
1 files changed, 22 insertions, 0 deletions
diff --git a/org.mageia.remove-old-kernels.policy b/org.mageia.remove-old-kernels.policy
new file mode 100644
index 0000000..b1b7c05
--- /dev/null
+++ b/org.mageia.remove-old-kernels.policy
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
+<policyconfig>
+<vendor>Mageia</vendor>
+<vendor_url>http://www.mageia.org/</vendor_url>
+<action id="org.mageia.remove-old-kernels.pkexec.run">
+<description>Run Mageia Old Kernel Remover</description>
+<message>
+Authentication is required to run remove-old-kernels
+</message>
+<icon_name>remove-old-kernels</icon_name>
+<defaults>
+<allow_any>no</allow_any>
+<allow_inactive>no</allow_inactive>
+<allow_active>auth_admin_keep</allow_active>
+</defaults>
+<annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/remove-old-kernels</annotate>
+<annotate key="org.freedesktop.policykit.exec.allow_gui">false</annotate>
+</action>
+</policyconfig>