To tell which system is starting a service (systemv or upstart - mint uses both) you run this command and the answer will be immediately obvious.
- Code: Select all
ls -l /etc/init.d
If it is an upstart service that you have a problem with then you have to either rename its conf file which will prevent it from starting ( /etc/init/xxxxxx.conf - where xxxxxx is the name of the service) or alter its content which will alter the run levels in which it starts/stops. Things are much easier if it is still a systemv service because you can install and use sysv-rc-conf to manage those very easily.
However, on my mint system there is no dhcp service running at any time - there is a dhclient service running and that is a child process of Network Manager. In other words, in order to kill that service I would need to prevent Network Manager from starting (a very bad idea) or mess around with the code for the Network Manager service (in my case, another bad idea because I would probably get it wrong and end up with no internet).
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).