summaryrefslogtreecommitdiff
path: root/net-misc/modemmanager/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-28 21:47:46 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-28 21:47:46 +0000
commitadd6c9457f027e3c46d70f05c316008bc2782757 (patch)
treeb1bd333632c394c82be64af33bd19e7572ea8a18 /net-misc/modemmanager/files
parent749587c87b36074e4756bae8acd86a926aa5aa6e (diff)
net-misc/modemmanager : add openrc service file
Diffstat (limited to 'net-misc/modemmanager/files')
-rw-r--r--net-misc/modemmanager/files/init.d.ModemManager11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/modemmanager/files/init.d.ModemManager b/net-misc/modemmanager/files/init.d.ModemManager
new file mode 100644
index 00000000..b8f1345b
--- /dev/null
+++ b/net-misc/modemmanager/files/init.d.ModemManager
@@ -0,0 +1,11 @@
+#!/sbin/openrc-run
+
+description="ModemManager Daemon"
+pidfile="/run/ModemManager.pid"
+command="/usr/sbin/ModemManager"
+command_background="yes"
+
+depend() {
+ need dbus
+ before NetworkManager
+}