Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 2009 10:00:08 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Artis Caune <artis.caune@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: shell power in rc.conf
Message-ID:  <20090818150008.GC77498@dan.emsphone.com>
In-Reply-To: <9e20d71e0908180253x4a11114cxc3e2c4af8798878@mail.gmail.com>
References:  <9e20d71e0908180253x4a11114cxc3e2c4af8798878@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 18), Artis Caune said:
> Is there any reason of not using shell variables in rc.conf?
> I want to tune rc.conf for easy editing and administration. Take for
> example jail_list or cloned_interfaces with 10+ entries:

Remember that every startup script sources rc.conf, sometimes very early or
late in the startup/shutdown sequence, so just make sure you don't echo
anything to stdout/stderr or try to run commands that might be on
filesystems that aren't mounted yet, and you should be fine.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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