conf/74402: /etc/rc.conf: Syntax error: Unterminated quoted
string
Parv
parv at pair.com
Fri Nov 26 14:50:23 PST 2004
The following reply was made to PR conf/74402; it has been noted by GNATS.
From: Parv <parv at pair.com>
To: Shen <shxxb at hotmail.com>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: conf/74402: /etc/rc.conf: Syntax error: Unterminated quoted string
Date: Fri, 26 Nov 2004 17:44:20 -0500
in message <200411260802.iAQ82FjP081972 at www.freebsd.org>,
wrote Shen thusly...
>
> Added some lines in /etc/rc.conf file, but made the mistake use a
> ' instead of a "
I suppose in either case the quotes, single or double, were balanced.
That is, you eneded up w/ something like...
var='value'
...and neither of the below two...
var="value'
var='value"
> , during boot processing, the error is:
>
> /etc/rc.conf: 79: Syntax error: Unterminated quoted string
> Enter full path name of shell or RETURN for /bin/sh:
>
> Now the problem is even entered /bin/sh, still do not have any
> function can change this configration file, even "vi" is not
> available
There is (s)ed (when vi usage is impossible), but before that at least
/ partition will need to be mounted read/write.
- Parv
--
More information about the freebsd-bugs
mailing list