Issues with init script services - Ubuntu 12.10

1

During boot, I get a series of messages like

modem-manager: ... 
modem-manager: ...
.
.
.

I tried disabling this feature with

sudo update-rc.d -f remove modem-manager remove

EDIT: The output I got is

Removing any system startup links for /etc/init.d/modemmanager ...

And I didnt receive any output that seem to disable the links to the actual service.

And further I tried disabling the lightdm service at runtime, with:

sudo update-rc.d -f lightdm remove

Neither of these seem to have any effect when I reboot the system. Am i missing something? thank you, in advance.

Vigneshwaren

Posted 2013-12-23T06:09:01.397

Reputation: 245

What distribution is this? (Also add a tag for it, if you don't mind.) – Bandrami – 2013-12-23T06:12:50.153

Answers

2

Ubuntu 12.10 should be using upstart, not SysV. Try

sudo sh -c 'echo manual >> /etc/init/modemmanager.override'

or for lightdm

sudo sh -C 'echo manual >> /etc/init/lightdm.override'

(Note that this last one will keep you from having a graphical login; you probably know that but just in case...)

Bandrami

Posted 2013-12-23T06:09:01.397

Reputation: 1 543

Thanks, it worked. I simply removed the *.override file, to start the service again, this would do? isnt it? – Vigneshwaren – 2013-12-23T06:43:22.713

1Yeah, though check and make sure there wasn't already other stuff in the override file (I doubt it, but just in case). If there was other stuff than "manual", just edit the override file and remove the line that says "manual" to get it back. – Bandrami – 2013-12-23T06:44:41.447