aboutsummaryrefslogtreecommitdiffstats
path: root/org.mageia.remove-old-kernels.policy
diff options
context:
space:
mode:
authorBarry Jackson <barjac@users.noreply.github.com>2023-01-05 15:22:25 +0000
committerGitHub <noreply@github.com>2023-01-05 15:22:25 +0000
commit8d6bb61cf2c23bba979716d9cb0ee26789f594bd (patch)
treee228c4131be5bc255a7b2e6a679fdd7c505b2241 /org.mageia.remove-old-kernels.policy
parent7651d383f33ee245a082e657a9055f318f5d6886 (diff)
downloadremove-old-kernels-8d6bb61cf2c23bba979716d9cb0ee26789f594bd.tar
remove-old-kernels-8d6bb61cf2c23bba979716d9cb0ee26789f594bd.tar.gz
remove-old-kernels-8d6bb61cf2c23bba979716d9cb0ee26789f594bd.tar.bz2
remove-old-kernels-8d6bb61cf2c23bba979716d9cb0ee26789f594bd.tar.xz
remove-old-kernels-8d6bb61cf2c23bba979716d9cb0ee26789f594bd.zip
Add files via upload
initial import
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>