26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
diff --git a/WeDoNotHaveSystemD.patch b/WeDoNotHaveSystemD.patch
|
|
new file mode 100644
|
|
index 0000000..ead48c2
|
|
--- /dev/null
|
|
+++ b/WeDoNotHaveSystemD.patch
|
|
@@ -0,0 +1,16 @@
|
|
+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
|
|
--
|
|
2.16.4
|
|
|