mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-27 01:11:33 +02:00
ModemManager is a DBus-activated daemon which controls mobile broadband (2G/3G/4G) devices and connections. Whether built-in devices, USB dongles, bluetooth-paired telephones, or professional RS232/USB devices with external power supplies, ModemManager is able to prepare and configure the modems and setup connections with them. http://www.freedesktop.org/wiki/Software/ModemManager/
9 lines
294 B
Plaintext
9 lines
294 B
Plaintext
// Let users in plugdev group modify ModemManager
|
|
polkit.addRule(function(action, subject) {
|
|
if (/^org\.freedesktop\.ModemManager1\.(Device\.Control|Contacts|Messaging|Location)$/.test(action.id) &&
|
|
subject.isInGroup("plugdev") && subject.active) {
|
|
return "yes";
|
|
}
|
|
});
|
|
|