From owner-freebsd-hackers Sun Sep 24 09:49:10 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA04827 for hackers-outgoing; Sun, 24 Sep 1995 09:49:10 -0700 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id JAA04818 for ; Sun, 24 Sep 1995 09:49:07 -0700 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA05984 (5.67a/IDA-1.5 for hackers@freebsd.org); Sun, 24 Sep 1995 11:35:35 -0500 Received: (from peter@localhost) by bonkers.taronga.com (8.6.11/8.6.9) id LAA25673; Sun, 24 Sep 1995 11:25:36 -0500 Date: Sun, 24 Sep 1995 11:25:36 -0500 From: peter@taronga.com (Peter da Silva) Message-Id: <199509241625.LAA25673@bonkers.taronga.com> To: hackers@freebsd.org Subject: Re: ports startup scripts Newsgroups: taronga.freebsd.hackers In-Reply-To: References: <199509241434.JAA09429@bonkers.taronga.com> Organization: Taronga Park BBS Sender: owner-hackers@freebsd.org Precedence: bulk In article , Jonathan M. Bresler 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.