Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2007 17:01:47 -0800 (PST)
From:      youshi10@u.washington.edu
To:        freebsd-questions@freebsd.org
Subject:   Re: rc.conf
Message-ID:  <Pine.LNX.4.43.0701231701470.28911@hymn03.u.washington.edu>
In-Reply-To: <C0B52039-644F-4FFB-9831-5122B17FB222@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Jan 2007, eoghan wrote:

> On 23 Jan 2007, at 18:26, Jerry McAllister wrote:
>
>> 
>>> Hi
>>> Just a general question:
>>> should all values in rc.conf be in quotes... like:
>>> network_enable="rl0"
>> 
>> It is a good idea.  I think, if there is no white space in the value,
>> then you can get away without it, but maybe I have my shells confused
>> in my mind.   Anyway, using the quotes will always be OK.
>
> ok thanks to all who replied.
> Eoghan

I always use quotes because it's easier to follow along with and in case of whitespace, the rc.conf parser won't bail / give the relevant command incorrect values, IIRC.

-Garrett




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