Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Oct 2004 17:05:31 -0700 (PDT)
From:      Doug Barton <DougB@FreeBSD.org>
To:        Kim Culhan <w8hdkim@yahoo.com>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: Just updated to 5.3-BETA7 -couple nits
Message-ID:  <20041005165957.U3095@bo.vpnaa.bet>
In-Reply-To: <20041005133320.41902.qmail@web50701.mail.yahoo.com>
References:  <20041005133320.41902.qmail@web50701.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Oct 2004, Kim Culhan wrote:

>
>> From the couple small nits dept..
>
> After running mergemaster and rebooting, the boot hung with:
>
> /etc/defaults/rc.conf: 517: Syntax error: EOF in backquote
> substitution
>
> rc.conf had only 516 lines soo.. was there an embedded
> EOF char in the file not visible with vi ?

That's not what that error means. What it means is that while trying to 
process a backquote substitution, the shell _reached_ EOF, which 
obviously is not what you intended. This happens when you forget the 
closing backquote, quotation mark, etc.

You actually should not have ANY backquotes in rc.conf[.local], so 
either you're doing something that you shouldn't be, or you accidentally 
typed a stray backquote when trying to type something else. Either way, 
if you find the stray ` in your file somewhere, you should be well on 
your way to fixing the problem.

You can test this for yourself without rebooting by doing 'sh -x 
/etc/rc.conf'. If your file is "clean" you will get no errors, just a 
list of variables being set.

HTH,

Doug

-- 

     This .signature sanitized for your protection



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