Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2004 22:50:23 GMT
From:      Parv <parv@pair.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/74402: /etc/rc.conf: Syntax error: Unterminated quoted string
Message-ID:  <200411262250.iAQMoNF1058914@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/74402; it has been noted by GNATS.

From: Parv <parv@pair.com>
To: Shen <shxxb@hotmail.com>
Cc: freebsd-gnats-submit@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@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
 
 -- 
 



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