Initialization Scripts

Larry Hartman larryhartman50 at bellsouth.net
Mon Jun 11 10:13:12 UTC 2007


On Sunday 10 June 2007 10:06:08 pm 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.
> --
> D. Michael McIntyre

Based on this remark I went with the more agressive option and trashed it 
completely--no more error.  I figured making it non-executable was akin to 
what I wanted to do....thanx for some insight.




More information about the kubuntu-users mailing list