Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 1995 11:25:36 -0500
From:      peter@taronga.com (Peter da Silva)
To:        hackers@freebsd.org
Subject:   Re: ports startup scripts
Message-ID:  <199509241625.LAA25673@bonkers.taronga.com>
In-Reply-To: <Pine.3.89.9509241051.H27857-0100000@kryten.atinc.com>
References:  <199509241434.JAA09429@bonkers.taronga.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.3.89.9509241051.H27857-0100000@kryten.atinc.com>,
Jonathan M. Bresler <jmb@kryten.Atinc.COM> wrote:
>	yes.  but when i want to understand the startup/shutdown process 
>running a piece of /etc/daily is...not the obvious step.

After you get that warning from /etc/daily and fix the installation problem
you'll understand the process.

If you use a script you'll never know if there's an installation problem until
you find yourself rebuilding the script from your memory after the system
doesn't come up one day.

>	if you are using a non-offical port, you are NOT a newbie.

Say *what*?

>	that both use a master file.  one exists as a file, the other 
>exists as an artifact of ascii sort order (not obvious to our poor 
>newbie, especially when we have to explain that 10 comes before 2).

02 comes before 10

>	one directory for all start and stop scripts

Not ideal, but acceptable.

>	explicit invocation order, a list

Then why bother having a directory at all? You might as well just keep on
editing /etc/rc.local...

>	dont have to flip directories to see how level 0 differs from 
>level 1--just check the list

ls /etc/rc*.d is a list.

>	no ascii sort order surprises ( 0 1 2 243 43)

I've been using the System V scheme for ten years and I've never seen a
single "ascii sort order" surprise, even from Oracle (and they're *really*
sloppy about this stuff, or used to be).

>	no having to chase links

No having to chase links.

>	increased clarity (i hope)

I find a script less clear than a directory listing.

I've done it both ways. This one really does work better... well enough to
have replaced /etc/rc on Xenix and s:user-startup on my Amiga.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509241625.LAA25673>