droidian / oFono2MM

Python daemom implementing ModemManager D-Bus API and using oFono to manage the modems.
BSD 3-Clause "New" or "Revised" License
8 stars 8 forks source link

systemd: Wait for ofono #22

Closed bellegarde-c closed 5 months ago

bellegarde-c commented 5 months ago

ModemManager is started after ofono but DBus name may not be ready yet.

This patch use gdbus to wait for ofono bus.

erikinkinen commented 5 months ago

Starting oFono2MM before oFono should not be a problem since the script itself subscribes the BusOwnerChanged event to catch ofono starting/quitting.

If there is a problem with this functioning improperly, it would be more appropriate to fix the problem in its roots.