LeRoy D. Cressy on Wed, 19 May 1999 14:06:58 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Debian boot script question


Hi Kurt,

The easiest way to stop something from running at boot is:

Look at /etc/inittab an find what runlevel is the default.  If you
haven't changed the default runlevel then it should be runlevel 2

/etc/rc2.d/ directory contains the scripts that are run.

The first letter of the script name determins what happens
	S	Starts a process
	K	Kills a process

The next two numbers determine the order that the scripts are run
starting from the lowest  to 99 the highest.  This makes certain that
you don't run xdm before some other process.

Just by renaming the script that you don't to run, like S20ssh rename it
to something like noS20ssh.  That is a simple way to stop the script
from executing at boot while at the same time providing an easy way to
reinstitute it at a later time.

Have a good day

Kurt D. Starsinic wrote:
> 
> Hi,
> 
>     What's the proper way to disable a startup script in Debian?  E.g., I've
> installed the `ssh' package, and I don't want `sshd' to start up
> automatically, but I'd like to be able to type `/etc/init.d/ssh start' at any
> time.
> 

-- 
          0 0      L & R Associates
           "       Home Page:    http://www.netaxs.com/~ldc/
_______ooO ~ Ooo_______________________________________________

LeRoy D. Cressy     	 /\_/\		ldc@netaxs.com
Computer Consulting 	( o.o )		Phone (215) 535-4037
		 	 > ^ <		Fax   (215) 535-4285

--
To unsubscribe, send a message with the word 'unsubscribe' in the subject
or body of your message to plug-request@lists.nothinbut.net