mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-21 18:40:00 +00:00
Revert "chore: Add polkit rules for scx_lavd"
This reverts commit d0d108ef3e416807d5005fd2304fd49fa121e5f0.
This commit is contained in:
parent
c8a9a336e3
commit
f8c871ef23
@ -1,21 +0,0 @@
|
|||||||
<?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>Bazzite</vendor>
|
|
||||||
<vendor_url>https://github.com/ublue-os/bazzite/</vendor_url>
|
|
||||||
|
|
||||||
<action id="org.bazzite.schedulers.pkexec">
|
|
||||||
<description>Allows certain sched_ext schedulers to be run with root permissions</description>
|
|
||||||
<icon_name>package-x-generic</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/bin/scx_lavd</annotate>
|
|
||||||
</action>
|
|
||||||
|
|
||||||
</policyconfig>
|
|
@ -1,6 +0,0 @@
|
|||||||
polkit.addRule(function(action, subject) {
|
|
||||||
if (action.id == "org.bazzite.schedulers.pkexec" &&
|
|
||||||
subject.isInGroup("wheel")) {
|
|
||||||
return polkit.Result.YES;
|
|
||||||
}
|
|
||||||
});
|
|
Loading…
x
Reference in New Issue
Block a user