From owner-freebsd-stable Sat Sep 14 2:16: 6 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 ADC0937B41C for ; Sat, 14 Sep 2002 02:15:40 -0700 (PDT) Received: from mail.kicelo.org (217-127-73-173.uc.nombres.ttd.es [217.127.73.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 017BF4405C for ; Sat, 14 Sep 2002 00:38:28 -0700 (PDT) (envelope-from manolo@mail.kicelo.org) Received: (from manolo@localhost) by mail.kicelo.org (8.11.6/8.11.6) id g8E7gM621227; Sat, 14 Sep 2002 09:42:22 +0200 (CEST) (envelope-from manolo) Date: Sat, 14 Sep 2002 09:42:22 +0200 From: Manuel Enrique Garcia Cuesta To: Jon Longoria Cc: glbj@verizon.net, freebsd-stable@FreeBSD.ORG Subject: Re: Re: ';;' instead of 'fi' Message-ID: <20020914094222.A16534@mail.kicelo.org> Mail-Followup-To: Manuel Enrique Garcia Cuesta , Jon Longoria , glbj@verizon.net, freebsd-stable@FreeBSD.ORG References: <20020914064905.ZHOO16391.out018.verizon.net@[127.0.0.1]> <009001c25bbb$bac57570$0c01a8c0@aristotle> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <009001c25bbb$bac57570$0c01a8c0@aristotle>; from jon.longoria@dfwgroove.com on Sat, Sep 14, 2002 at 01:55:35AM -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 === Jon Longoria escribía (Sat, Sep 14, 2002 at 01:55:35AM -0500): > > > # Enable dumpdev so that savecore can see it. > > > # /var/crash should be a directory or symbolic link > > > # to the crash directory if core dumps are to be saved. > > > if [ "${dumpdev}" != 'NO' ]; then > > > case ${dumpdir} in > > > '') > > > dumpdir='/var/crash' > > > ;; > > > [Nn][Oo]) > > > dumpdir='NO' > > > ;; > > > esac > > > 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 Both that ';;' and the 'esac' in the next line are misplaced and should be out of there, and there should be some 'fi' instead. I would wipe out those two offending bits and put fi in there, but I wonder whether /etc/rc may be further messed up. Hope that helps Manuel García To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message