Cinnamon Paketleri
This commit is contained in:
1 parent
b5175ab600
commit
2bb5dfd655
70 files changed
+2348
No files matched your search
@@ -0,0 +1,19 @@
|
||||
// Let users in plugdev group modify ModemManager
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.freedesktop.ModemManager1.Device.Control" ||
|
||||
action.id == "org.freedesktop.ModemManager1.Contacts" ||
|
||||
action.id == "org.freedesktop.ModemManager1.Messaging" ||
|
||||
action.id == "org.freedesktop.ModemManager1.Location") &&
|
||||
subject.isInGroup("plugdev") && subject.active) {
|
||||
return "yes";
|
||||
}
|
||||
});
|
||||
|
||||
// Let geoclue modify ModemManager for location gathering
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.freedesktop.ModemManager1.Device.Control" ||
|
||||
action.id == "org.freedesktop.ModemManager1.Location") &&
|
||||
subject.isInGroup("geoclue")) {
|
||||
return "yes";
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user