Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 12:14:09 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Jon Longoria <jon.longoria@dfwgroove.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: your mail
Message-ID:  <20020914111409.GD46500@happy-idiot-talk.infracaninophi>
In-Reply-To: <004101c25bb2$9e356180$0c01a8c0@aristotle>
References:  <20020914053459.8C7B237B400@hub.freebsd.org> <004101c25bb2$9e356180$0c01a8c0@aristotle>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 14, 2002 at 12:50:19AM -0500, Jon Longoria wrote:

> /etc/rc: 427 Syntax error: ";;" unexpected (expecting "fi")
> Enter full pathname of shell or RETURN for /bin/sh:

That's a syntax error around line 427 of the /etc/rc script.  With
4.6.2-RELEASE, you should have version 1.212.2.50 --- line 427 is
right after the network_pass2 function is called.  Guess your copy has
got a bit corrupted during your upgrade process.

Boot into single user mode, and mount your filesystems (as for
installworld), and copy the default /etc/rc script from /usr/src:

    cd /etc
    mv rc rc.old
    cp /usr/src/etc/rc rc
    chown root:wheel rc
    chmod 644 /etc/rc

and then reboot.

If you haven't got a good copy of the /etc/rc script available you can
download it from:

    http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc?rev=1.212.2.50&content-type=text/x-cvsweb-markup

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

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?20020914111409.GD46500>