From owner-freebsd-stable Fri Sep 13 23:49:13 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 B4ECB37B400 for ; Fri, 13 Sep 2002 23:49:07 -0700 (PDT) Received: from out018.verizon.net (out018pub.verizon.net [206.46.170.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27A2A43E75 for ; Fri, 13 Sep 2002 23:49:06 -0700 (PDT) (envelope-from glbj@verizon.net) Received: from [127.0.0.1] by out018.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with SMTP id <20020914064905.ZHOO16391.out018.verizon.net@[127.0.0.1]>; Sat, 14 Sep 2002 01:49:05 -0500 From: To: "Jon Longoria" Cc: Subject: Re: Re: ';;' instead of 'fi' Date: Sat, 14 Sep 2002 1:49:05 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20020914064905.ZHOO16391.out018.verizon.net@[127.0.0.1]> 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 When I first looked at that code I thought I spotted something wrong, but the only thing wrong was me. I'm not much of a scripting guru, but leave this on the list. there are a few around here that can probably spot the problem. You might want to see if creating /var/crash/ helps. Beyond that, I'm outta my league. Gene > Sure, it goes as follows: > > -------- > > add net default: gateway x.x.x.x > Additional routing options: TCP keepalive=YES. > Routing Daemons:. > Additional daemons: syslogd. > /etc/rc: 427: Syntax error: ";;" unexpected (expecting "fi") > Enter full pathname of shell or RETURN for /bin/sh: > > -------- > > 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: > > # 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 > > Jon Longoria > Senior Web Developer > DFW Groove Productions > > > ----- Original Message ----- > From: > To: "Jon Longoria" > Cc: > Sent: Saturday, September 14, 2002 1:07 AM > Subject: Re: ';;' instead of 'fi' > > > > > > > > > Yea, i was trying to bring it up to check that line, but both vi and ee > > > won't show to console proper, so its a bit of a catch22 for me. > > > > > > > > Yup. I See. It might help if you post the three or four lines before the > error to give people an idea where in the process it was when it blew up. > > > > Gene > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-stable" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message