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

Re: networking script in Debian



On Sun, Jul 01, 2001 at 03:31:59PM -0700, Wing wrote:
> >$ ls -l /etc/rc?.d/???networking
> >lrwxrwxrwx    1 root     root           20 Dec 31  1997
> /etc/rc0.d/S35networking -> ../init.d/networking
> >lrwxrwxrwx    1 root     root           20 Dec 31  1997
> /etc/rc6.d/S35networking -> ../init.d/networking
> >lrwxrwxrwx    1 root     root           20 Dec 31  1997
> /etc/rcS.d/S40networking -> ../init.d/networking
> >
> >(sorry for the wide lines, folks)
> 
> Thanks, with a bit of experimenting, I found out that
> /etc/rcS.d/S40networking is the one get called in runlevel 2. I thought that
> only the scripts in /etc/rc2.d would be called, clearly I was wrong.

/etc/rcS.d/* get called at system startup before even
single-user mode is enabled; for specific runlevel items,
/etc/init.d/rc calls all the K* (to kill) and then S* (to start)
scripts in /etc/rc<runlevel>.d/* ...

see /etc/inittab for specifics.

-- 
DEBIAN NEWBIE TIP #47 from Will Trillich <will@serensoft.com> 
:
Want to LEARN MORE ABOUT VIM? From inside vim (when you're
editing some text) try
	:help
	:help howto
	:help options
Type "ctrl-W ctrl-W" to switch 'panes', or "ctrl-W q" to close
one. (Try ":help CTRL-W" for more details on control-W.)

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: