Subject: bin/18400: Add ``i was here before'' to /etc/rc.subr
To: None <>
From: None <>
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
>Originator:     Andrew Cagney
>Release:        1.6 pure userland
Userland is pure 1.6.

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.