From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- extra/modemmanager/modemmanager.rules | 296 ---------------------------------- 1 file changed, 296 deletions(-) delete mode 100644 extra/modemmanager/modemmanager.rules (limited to 'extra/modemmanager/modemmanager.rules') diff --git a/extra/modemmanager/modemmanager.rules b/extra/modemmanager/modemmanager.rules deleted file mode 100644 index 1eb7b19..0000000 --- a/extra/modemmanager/modemmanager.rules +++ /dev/null @@ -1,296 +0,0 @@ - - - -modemmanager.rules « modemmanager « community - aports - Alpine packages build scripts - - - - - - - - - -
- - - - -
-aboutsummaryrefslogtreecommitdiffstats
- - - -
-
-
blob: 4c56fb7f9ef117068e03d8e6c01d2f51dad066bd (plain) (blame) - - -
1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-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";
-    }
-});
-
-
- -
- - -- cgit v1.2.1