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

Re: why does it look at xdm and kdm while shutting down?



On Mon, Nov 18, 2002 at 04:41:15PM +0100, Matthias Hentges wrote:
> Am Mon, 2002-11-18 um 13.52 schrieb Sandip P Deshmukh:
> > hello all
> > 
> > my inittab sets the runlevel to 2.
> > 
> > in /etc/rc2.d, there were links referring to files in /etc/init.d
> > directory.
> > 
> > i did not want xdm, kdm, gdm to start. so i changed the link names from
> > SnnProgram to KnnProgram for these links.
> > 
> > however, while shutting down, it still looks for xdm, kdm, etc. it is
> > not doing me any harm, i find it unelegant that the system tries to shut
> > down programs it had not started in the beginning.
> > 
> 
> Just delete the xdm and kdm scripts from runlevel 2.
> I know there is a Debian Way (TM) to do this, but i can't remember how

update-rc.d -f xdm remove
update-rc.d -f kdm remove

Including the '-f' because it sounds like your kept your original
startup scripts in /etc/init.d

Rob



Reply to: