Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 09:42:22 +0200
From:      Manuel Enrique Garcia Cuesta <manolo@kicelo.org>
To:        Jon Longoria <jon.longoria@dfwgroove.com>
Cc:        glbj@verizon.net, freebsd-stable@FreeBSD.ORG
Subject:   Re: Re: ';;' instead of 'fi'
Message-ID:  <20020914094222.A16534@mail.kicelo.org>
In-Reply-To: <009001c25bbb$bac57570$0c01a8c0@aristotle>; from jon.longoria@dfwgroove.com on Sat, Sep 14, 2002 at 01:55:35AM -0500
References:  <20020914064905.ZHOO16391.out018.verizon.net@[127.0.0.1]> <009001c25bbb$bac57570$0c01a8c0@aristotle>

next in thread | previous in thread | raw e-mail | index | archive | help


=== 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?20020914094222.A16534>