Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 02:54:14 -0500
From:      "Jon Longoria" <jon.longoria@dfwgroove.com>
To:        "Manuel Enrique Garcia Cuesta" <manolo@kicelo.org>
Cc:        <glbj@verizon.net>, <freebsd-stable@FreeBSD.ORG>
Subject:   Re: Re: ';;' instead of 'fi'
Message-ID:  <00a701c25bc3$edce0f10$0c01a8c0@aristotle>
References:  <20020914064905.ZHOO16391.out018.verizon.net@[127.0.0.1]> <009001c25bbb$bac57570$0c01a8c0@aristotle> <20020914094222.A16534@mail.kicelo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
You figured it out too :) Thanks as well for the effort.


----- Original Message -----
From: "Manuel Enrique Garcia Cuesta" <manolo@kicelo.org>
To: "Jon Longoria" <jon.longoria@dfwgroove.com>
Cc: <glbj@verizon.net>; <freebsd-stable@FreeBSD.ORG>
Sent: Saturday, September 14, 2002 2:42 AM
Subject: Re: Re: ';;' instead of 'fi'


>
>
> === 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00a701c25bc3$edce0f10$0c01a8c0>