Initialization Scripts

Larry Hartman larryhartman50 at bellsouth.net
Mon Jun 11 22:01:16 UTC 2007


On Monday 11 June 2007 12:37:30 pm Derek Broughton wrote:
> D. Michael McIntyre wrote:
> > On Sunday 10 June 2007, Larry Hartman wrote:
> >> 1.  If I remove this script will that stop the boot process from loading
> >> apache when it is no longer there?
> >
> > My usual ugly hack way to kill something like this is to
> >
> > sudo chmod -x /etc/init.d/foo
> >
> > If it's not executable, it stops running.  That's not the Correct
> > Debian/Ubuntu Way(tm) but it works.  Sometimes you have to just hit
> > something with a big hammer to make it shut up.
>
> Yeah, that works.
>
> The "Correct Debian/Ubuntu Way (tm)" involves use of update-rc.d to remove
> links.  _Either_
>
> # aptitude purge apache apache-common
>
> should execute that (ie, if when you removed it, you used "remove" rather
> than "purge"), or there's a bug in the postrm process, which will
> (possibly) one day get fixed.  Of course, if there _is_ a bug, filing a bug
> report will help that eventuality come to pass :-)
> --
> derek

I just double-checked both of the packages mentioned above were 
removed....maybe not purged?

Larry





More information about the kubuntu-users mailing list