From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/system/modemmanager/modemmanager.rules | 296 ---------------------------- 1 file changed, 296 deletions(-) delete mode 100644 repo/system/modemmanager/modemmanager.rules (limited to 'repo/system/modemmanager/modemmanager.rules') diff --git a/repo/system/modemmanager/modemmanager.rules b/repo/system/modemmanager/modemmanager.rules deleted file mode 100644 index 1eb7b19..0000000 --- a/repo/system/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