On Thu, 22 Mar 2007 23:21:07 +0000 (WET)
Jorge Almeida <[EMAIL PROTECTED]> wrote:

> On Thu, 22 Mar 2007, TheOldFellow wrote:
> 
> > On Wed, 21 Mar 2007 14:55:42 +0000 (WET)
> >
> >>>
> >>> If you logout of your last shell does it go faster?  There seems
> >>> to be some delay before a tty is shut down.
> >> I was doing it from the console, as root. X wasn't running, and
> >> there wasn't any other shell running. Anyway, the "normal-looking
> >> messages" said the getty services were down, so the big delay must
> >> be elsewhere. (OTHH, VC1 had a getty, since the shell prompt still
> >> appeared...)
> >
> > OK, you still have to exit the last shell, otherwise you have to
> > wait while it times out and kills it.
> >
> Yes, the messages show that the other gettys are gone and getty-1
> received TERM and "wants down". I tried
>       exec init 6
> instead of
>       init 6
> and, sure enough, it goes down in about 1s or less. No time to see the
> hint of a message!
> Is this how you do it? Strange that it is not mentioned in the runit
> docs. Or is there a more normal way? (Or maybe it's too obvious for
> most runit users:))

No.  I just do:

init 6
exit

I also have sleep 5 in my runit/3 script so that I can read the last
message!

R.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to