-
Notifications
You must be signed in to change notification settings - Fork 5
/
com.mendhak.grubrebootpicker.policy
54 lines (54 loc) · 2.52 KB
/
com.mendhak.grubrebootpicker.policy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?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/policyconfig.dtd">
<policyconfig>
<action id="org.freedesktop.policykit.pkexec.grub-reboot">
<description>Run grub-reboot</description>
<message>Authentication is required to run grub-reboot</message>
<icon_name>un-reboot</icon_name>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/grub-reboot</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">false</annotate>
</action>
<action id="org.freedesktop.policykit.pkexec.reboot">
<description>Run reboot</description>
<message>Authentication is required to run reboot</message>
<icon_name>un-reboot</icon_name>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/reboot</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">false</annotate>
</action>
<action id="org.freedesktop.policykit.pkexec.shutdown">
<description>Run Shutdown</description>
<message>Authentication is required to run shutdown</message>
<icon_name>un-reboot</icon_name>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/shutdown</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">false</annotate>
</action>
<action id="org.freedesktop.policykit.pkexec.grub-reboot-picker">
<description>Run grub-reboot-picker</description>
<message>Run grub-reboot-picker so it can read grub.cfg</message>
<icon_name>un-reboot</icon_name>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/grub-reboot-picker</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">false</annotate>
</action>
</policyconfig>