Subject: bin/18400: Add ``i was here before'' to /etc/rc.subr
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cagney@mac.com>
List: netbsd-bugs
Date: 09/24/2002 07:52:06
>Number:         18400
>Category:       bin
>Synopsis:       Add ``i was here before'' to /etc/rc.subr
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 24 07:53:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Cagney
>Release:        1.6 pure userland
>Organization:
>Environment:
Userland is pure 1.6.

>Description:
Suggest adding a ``was I here before'' test to the front of /etc/rc.subr so that every single /etc/rc.d/ script doesn't have to re-parse it.  From memory, you can ``break'' out of a ``.'' script and get back to the caller.

I'm *guessing* but I think, on slow systems, it will make an overall difference to startup time.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: