Yesterday I noticed the following when I started removing several apps I was not going to use. The file in the rc folders (/etc/rc0.d
, /etc/rc1.d
.... /etc/rc6.d
) associated with the deleted app were still there.
For example, after removing gammut, the file /etc/rc0.d/K20gammu-smsd
was still there.
Same for the following I found:
Motion - /etc/rc0.d/K60motion
WiCD - /etc/rc0.d/K20wicd
HDDTemp - /etc/rc0.d/K20hddtemp
And so on. This also applies to other RC levels corresponding to the single user, multi user and shutdown levels.
What do I need to do (Avoiding having to do it manually for each) to remove any trace of the app.
purge
option in apt-get deals with this(?)K
instead ofS
, they should have no effect, and shouldn't even slow down the start-up process. (Or am I missing something?) Are you sure you need to remove them at all?S
withK
in the name of anrcN.d
-style startup script is just the standard way of disabling the service. It's not actually killing anything. Still, your question stands--no files for these services existed in yourrc...
directories before the packages were installed, so there should be some automated way to get back to that state.