on Thu, Jan 04, 2001 at 11:20:47AM +0530, N. Raghavendra (raghu@mri.ernet.in) wrote:
> On Wed, Jan 03, 2001 at 09:23:30AM -0800, Xucaen wrote:
>
> > does this disable X? what if you still want to run X from the
> > command line using startx?
> > <DTurner@emis-support.demon.co.uk> wrote:
> > > after booting up press <ctrl><alt> F1 to go into a console
> > > terminal. logon as root. cd /etc/rc2.d rm S??xdm # or just
> > > move it, if you dont want to delete it.... shutdown -r now
> > > worked for me this morning, anyway.
>
> Hi,
>
> What I have been doing to stop /etc/init.d/ scripts (like xdm)
> from being executed at bootup is to put the line
> exit 0
> at the top of the file (as the first uncommented line). This
> makes the script neatly exit without doing anything.
I've been known to do this, but I prefer to add an echo to indicate that
this is the case. Scripts which silently fail can be annoying. E.g.:
echo "Not starting foo"; exit 0
Cheers.
--
Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/
Evangelist, Zelerate, Inc. http://www.zelerate.org
What part of "Gestalt" don't you understand? There is no K5 cabal
http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
Attachment:
pgpmzXdMfGqht.pgp
Description: PGP signature