Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 19:40:45 +1000
From:      Tim Robbins <tjr@FreeBSD.ORG>
To:        Jon Longoria <jon.longoria@dfwgroove.com>
Cc:        glbj@verizon.net, freebsd-stable@FreeBSD.ORG
Subject:   Re: ';;' instead of 'fi'
Message-ID:  <20020914194045.A93845@dilbert.robbins.dropbear.id.au>
In-Reply-To: <007801c25bba$180a0630$0c01a8c0@aristotle>; from jon.longoria@dfwgroove.com on Sat, Sep 14, 2002 at 01:43:53AM -0500
References:  <20020914060706.ZPFI9549.out019.verizon.net@[127.0.0.1]> <007801c25bba$180a0630$0c01a8c0@aristotle>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020914194045.A93845>