From owner-freebsd-arch Fri Aug 23 10:56:29 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A247237B405 for ; Fri, 23 Aug 2002 10:56:27 -0700 (PDT) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id AACCC43E4A for ; Fri, 23 Aug 2002 10:56:26 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g7NHuPf23644 for ; Fri, 23 Aug 2002 10:56:25 -0700 (PDT) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.4/8.12.4/Submit) id g7NHuPaX087707; Fri, 23 Aug 2002 10:56:25 -0700 (PDT) (envelope-from jdp) Date: Fri, 23 Aug 2002 10:56:25 -0700 (PDT) Message-Id: <200208231756.g7NHuPaX087707@vashon.polstra.com> To: arch@freebsd.org From: John Polstra Subject: Re: ugliness in rc.* scripts In-Reply-To: <20020821180344.GB33546@starjuice.net> References: <20020820232538.A53816@iguana.icir.org> <20020821074819.GA58163@mithrandr.moria.org> <20020821.095252.61131232.imp@bsdimp.com> <20020821180344.GB33546@starjuice.net> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [From address modified because I don't want every message in this thread to end up in my personal mailbox. I'll read them in the list, thank you very much.] In article <20020821180344.GB33546@starjuice.net>, Sheldon Hearn wrote: > I don't think the ugliness involved in the rc scripts justifies any of > the proposed hack-arounds yet. [...] > But I digress. I don't think the ugliness is ugly enough. I agree, but I'd take it one step further. Why do we have to support case-insensitive matching of words like YES and NO at all? Just proclaim that from now on, keywords in /etc/rc.conf have to be upper-case. Practically everything else in Unix is case-sensitive -- why not the rc.conf knobs? Note also that most of rc.conf is *already* case-sensitive. If you put something like "MoUsEd_ENAble=YES" in your rc.conf file, it will do exactly nothing. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message