I am wondering why not all scripts placed in init.d
folder are in rc
folders eg. system cups is in init.d
but there is not in rc
folders?
I don’t know if I understand it right. When I want to disable service I have to execute
update-rc.d -f something remove
but do I have to delete this service file from init.d
folder too ? because when I check
service --status-all
after update-rc.d -f something remove
this service is still present in the list. How to interpret it right ?
I guess that cups service is an
upstart
job that run/etc/init.d/cups
script.Check if is present
/etc/init/cups.conf
and if itexec /etc/init.d/cups
.Regarding the removal of links in
rcX.d
you should remove your script in/ect/init.d
before you runupdate-rc.d
command, indeed according to update-rc.d manual: