Add 'etc/udev/rules.d/81-blueman.rules'
This commit is contained in:
parent
b6a93eaa7b
commit
b47d394e19
8
etc/udev/rules.d/81-blueman.rules
Normal file
8
etc/udev/rules.d/81-blueman.rules
Normal 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;
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue
Block a user