slackware-current/source/n/ModemManager/WeDoNotHaveSystemD.patch

17 lines
884 B
Diff
Raw Permalink Normal View History

diff -Nur ModemManager-1.0.0.orig/data/org.freedesktop.ModemManager1.service.in ModemManager-1.0.0/data/org.freedesktop.ModemManager1.service.in
--- ModemManager-1.0.0.orig/data/org.freedesktop.ModemManager1.service.in 2013-07-01 01:13:03.000000000 -0500
+++ ModemManager-1.0.0/data/org.freedesktop.ModemManager1.service.in 2013-09-22 16:09:54.419219920 -0500
@@ -1,11 +1,4 @@
-# This D-Bus service activation file is only for systemd support since
-# an auto-activated ModemManager would be quite surprising for those people
-# who have MM installed but turned off. Thus the Exec path available to
-# D-Bus is /bin/false, but systemd knows the real Exec path due to the MM
-# systemd .service file.
-
[D-BUS Service]
Name=org.freedesktop.ModemManager1
-Exec=@sbindir@/ModemManager
+Exec=/usr/sbin/ModemManager
User=root
-SystemdService=dbus-org.freedesktop.ModemManager1.service