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

RE: /etc/rc?.d question



I uncommented the debug line in /etc/init.d/rc and noticed that
all scrips in rc6.d / rc0.d were called with "stop" on shutdown
_regardless of prefix_. Now I'm totally confused.

Christian

> -----Original Message-----
> From: Bob McGowan [mailto:rmcgowan@veritas.com]
> Sent: Tuesday, September 12, 2000 12:12 AM
> To: Christian Pernegger
> Cc: Debian user list
> Subject: Re: /etc/rc?.d question
> 
> 
> Check the directory /etc/rcS.d which is run when init goes to single
> user/halt, IIRC.
> 
> Christian Pernegger wrote:
> > 
> > Hi list, here's a quick one:
> > 
> > I always thought that init, when changing runlevels,
> > called first the K* scripts of the new runlevel with "stop",
> > then the S* ones with "start".
> > 
> > So I expected to find a K??networking in rc[06].d, but there's
> > only a S??networking variant - in fact nowhere on the system could
> > I find a K script for networking. Yet the code for "stop" is there
> > and clearly executed whenever I halt/reboot.
> > 
> > ???
> > 
> > Please enlighten me!
> > 
> > Regards
> > 
> > Christian
> > 
> > --
> > Unsubscribe?  mail -s unsubscribe 
> debian-user-request@lists.debian.org < /dev/null
> 
> -- 
> Bob McGowan
> Staff Software Quality Engineer
> VERITAS Software
> rmcgowan@veritas.com
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe 
> debian-user-request@lists.debian.org < /dev/null
> 
> 



Reply to: