mirror of
https://github.com/morgan9e/AdvancedReboot
synced 2026-04-14 00:14:35 +09:00
21 lines
879 B
XML
21 lines
879 B
XML
<?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>
|
|
<vendor>Custom</vendor>
|
|
<vendor_url>https://example.com</vendor_url>
|
|
|
|
<action id="com.example.advancedreboot.run">
|
|
<description>Run Advanced Reboot Tool</description>
|
|
<message>Authentication is required to access boot configuration and reboot</message>
|
|
<icon_name>system-reboot</icon_name>
|
|
<defaults>
|
|
<allow_any>no</allow_any>
|
|
<allow_inactive>no</allow_inactive>
|
|
<allow_active>auth_admin</allow_active>
|
|
</defaults>
|
|
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/advanced-reboot</annotate>
|
|
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
|
</action>
|
|
</policyconfig>
|