There is no init script shipped with modem manager. Reproducible: Always
Created attachment 458744 [details] modemmanager init script The attached works for me.
3 years and counting. I'm still using the attached exactly as is ... and it's working well for me. I get that this is aimed primarily at desktop environments, eg, gnome, but we've got this deployed even in certain remote server locations where init scripts are really useful, as evident by the fact that a systemd file is included.
(In reply to Jaco Kroon from comment #2) > I get that this is aimed primarily at desktop environments, eg, gnome, but > we've got this deployed even in certain remote server locations where init > scripts are really useful, as evident by the fact that a systemd file is > included. What's the point of having here a init script? Could you explain for me a scenario?
No X. No Gnome. I believe it was explained in comment 2. There is already a systemd unit file which should testify to the usefulness. As stated, remote servers, so need a way of starting (and stopping) modemmanager if and when modems gets plugged in and removed. This just makes that easier. This is a daemon after all, and as such, should be managed accordingly.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48e417c84ea25f8d94fafb248954308d0ec4282e commit 48e417c84ea25f8d94fafb248954308d0ec4282e Author: Jaco Kroon <jaco@uls.co.za> AuthorDate: 2021-02-25 23:20:54 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2021-03-15 21:19:37 +0000 net-misc/modemmanager: add init script Closes: https://github.com/gentoo/gentoo/pull/19660 Closes: https://bugs.gentoo.org/604664 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Signed-off-by: Conrad Kostecki <conikost@gentoo.org> net-misc/modemmanager/files/modemmanager.initd | 11 ++ .../modemmanager/modemmanager-1.14.8-r1.ebuild | 132 +++++++++++++++++++++ 2 files changed, 143 insertions(+)