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.initd | 11 -- extra/modemmanager/modemmanager.rules | 296 ---------------------------------- 2 files changed, 307 deletions(-) delete mode 100644 extra/modemmanager/modemmanager.initd delete mode 100644 extra/modemmanager/modemmanager.rules (limited to 'extra/modemmanager') diff --git a/extra/modemmanager/modemmanager.initd b/extra/modemmanager/modemmanager.initd deleted file mode 100644 index 29310b3..0000000 --- a/extra/modemmanager/modemmanager.initd +++ /dev/null @@ -1,11 +0,0 @@ -#!/sbin/openrc-run - -supervisor=supervise-daemon -command=/usr/sbin/ModemManager -command_args="${modemmanager_opts}" - -description="ModemManager Daemon" - -depend() { - need dbus -} 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