Removing startup scripts

Derek Broughton news at pointerstop.ca
Tue Oct 28 23:38:12 UTC 2008


John Hubbard wrote:

> I poked around in /etc/rc5.d/ and saw that I had a few processes that
> were loading that I didn't need.  For example kvm was loading and I use
> Virtual Box.  So I figured I could remove some of the things I didn't
> need.  I did an apt-get remove kvm.  I haven't rebooted yet but I still
> see "S20kvm" in /etc/rc5.d/.  Is it safe to just remove these scripts?
> Is there an easy way to remove them from all run levels?  Shouldn't
> removing a package remove the associated init script?

Er...  You know the default run level in Debian/Ubuntu has always been
runlevel 2, don't you?  

Removing a package probably should remove the scripts but my experience is
that few, if any, do.
-- 
derek





More information about the ubuntu-users mailing list