equivalent of chkconfig
João M. S. Silva
joao.m.santos.silva at gmail.com
Mon Aug 17 14:36:15 UTC 2015
Yes, it is:
$ dpkg -l|grep network-manager
$ dpkg -l|grep modemmanager
ii modemmanager 1.0.0-2ubuntu1
amd64 D-Bus service for managing modems
Thanks Oli, that sounds reasonable. I tried it but:
$ service modemmanager status
modemmanager stop/waiting
$ dmesg |grep -i modemmanager
[ 2.888050] init: modemmanager main process ended, respawning
[ 2.923251] init: modemmanager main process ended, respawning
(...)
[ 3.731722] init: modemmanager respawning too fast, stopped
$ cat modemmanager.override
# modemmanager - modem manager
#
# The ModemManager daemon manages the system's mobile broadband connections
# for NetworkManager.
#
# added by jmss
description "modem connection manager"
start on startup
stop on runlevel [!2345]
respawn
pre-start script
[ -x /usr/sbin/ModemManager ] || stop
end script
exec /usr/sbin/ModemManager
On 08/17/2015 03:21 PM, Oliver Grawert wrote:
> well, not sure it is possible to install the modemmanager deb without
> having network-manager installed ...
>
> wrt your upstart config you would simply put the new start on/stop on
> lines you want it to use in your .override file, i.e.:
>
> start on startup
> stop on runlevel [!2345]
>
> or some such ... you never edit .conf files directly, an update of teh
> package would either just revert your changes or cause a debconf prompt
> to review the diff.
>
> ciao
> oli
>
>
--
João M. S. Silva
More information about the Ubuntu-devel-discuss
mailing list