From owner-freebsd-stable Sat Sep 14 5:28:57 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D09E837B400 for ; Sat, 14 Sep 2002 05:28:55 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (245.a.008.mel.iprimus.net.au [210.50.86.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8709343E4A for ; Sat, 14 Sep 2002 05:28:53 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (2hyomqo5pjs68bnb@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6) with ESMTP id g8E9exUD094068; Sat, 14 Sep 2002 19:41:00 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6/Submit) id g8E9ejDt094067; Sat, 14 Sep 2002 19:40:45 +1000 (EST) Date: Sat, 14 Sep 2002 19:40:45 +1000 From: Tim Robbins To: Jon Longoria Cc: glbj@verizon.net, freebsd-stable@FreeBSD.ORG Subject: Re: ';;' instead of 'fi' Message-ID: <20020914194045.A93845@dilbert.robbins.dropbear.id.au> References: <20020914060706.ZPFI9549.out019.verizon.net@[127.0.0.1]> <007801c25bba$180a0630$0c01a8c0@aristotle> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <007801c25bba$180a0630$0c01a8c0@aristotle>; from jon.longoria@dfwgroove.com on Sat, Sep 14, 2002 at 01:43:53AM -0500 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Sep 14, 2002 at 01:43:53AM -0500, Jon Longoria wrote: > Sorry but I am typing this between the machine and the client I am emailing > from. I was about to finally access /etc/rc and check line 427 and heres the > segment of code it was included in: [...] > if [ "$[dumpdir]" != 'NO' ]; then > echo -n 'Checking for core dump: ' > /sbin/savecore ${savecore_flags} "${dumpdir}" > fi > ;; <===( +++ NOTE: LINE 427 +++ ) > esac > if [ -n "${network_pass1_done}" ]; then > network_pass2 > fi Looks like it could have been merged incorrectly. Here's what it should be: if [ "${dumpdir}" != 'NO' ]; then echo -n 'Checking for core dump: ' /sbin/savecore ${savecore_flags} "${dumpdir}" fi fi if [ -n "${network_pass1_done}" ]; then network_pass2 fi Where yours has ;; then esac, mine has no ;; and fi. If you haven't made any local modifications to /etc, mount the volume with /usr/src on it read-only and copy /usr/src/etc/rc over the top of /etc/rc. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message