/etc/rc.conf: 18: Syntax error: Unterminated quoted string

Bill Campbell freebsd at celestial.com
Sat Dec 3 21:28:27 PST 2005


On Sat, Dec 03, 2005, Chris wrote:
>Rob wrote:
>> Chris wrote:
>> 
>>>>Jose Borquez wrote:
>>>>defaultrouter="172.16.0.1"
>>>>hostname="daemon"
>>>
>>>The error is:
>>>defaultrouter="172.16.0.1"
>>>
>>>Additional error:
>>>hostname="daemon"
>>>
>>>Again, remove the ""
>> 
>> 
>> Uh? I use quotes for these lines in rc.conf of
>> 5-Stable and
>> 6-Stable. Why do you think the quotes are an error
>> here?
>> 
>> Rob.
>
>I also use 6.0 STABLE.
>My rc.conf does not have the "" in those 2 lines.

Double quotes (or single quotes) should be acceptable.

Using the ``vim'' editor, type ``:syntax on<RETURN>'' which
should turn on highlighting making it fairly easy to figure out
where the unmatched quote is.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Rightful liberty is unobstructed action according to our will within
limits drawn around us by the equal rights of others. I do not add 'within
the limits of the law' because law is often but the tyrant's will, and
always so when it violates the rights of the individual.''
    -Thomas Jefferson


More information about the freebsd-questions mailing list