Files
AdvancedReboot/com.example.advancedreboot.policy
Morgan 573610ae4e Initial commit
Add screenshot to README
2025-11-19 19:30:15 +09:00

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>