Add 'etc/udev/rules.d/81-blueman.rules'

This commit is contained in:
tk1rk 2023-05-20 05:01:29 +02:00
parent b6a93eaa7b
commit b47d394e19

View File

@ -0,0 +1,8 @@
polkit.addRule(function(action, subject) {
if (action.id == "org.blueman.rfkill.setstate" && subject.local && subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
if (action.id == "org.blueman.network.setup" && subject.local && subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});