Configuration questions

Andrew C. Dingman adingman at cookgroup.com
Mon May 15 18:07:21 UTC 2006


On Mon, 2006-05-15 at 10:44 -0700, David W. Hankins wrote:
> On Mon, May 15, 2006 at 01:08:48PM -0400, Andrew C. Dingman wrote:
> > I haven't really made any use of my C skills since college, so I don't
> > know that I feel up to writing a patch for include, but I care much more
> > about the case matches. Maybe I'll try my hand at the include patch at
> > home some time.
> 
> 'include "filename";' is already in 3.0.*.  It is limited - in that
> it recurses the configuration parsing engine (so any include file is
> implicitly global) - but is works and is in common use.
> 
> See 'man 5 dhcpd.conf'.

I know. I was referring to my original query about including all files
in a directory with a single "include" statement. I use single-file
includes already. I'd just like to be able to do 'include "/etc/tsig/"'
as a single line to slurp in any and all files in that directory, or
possibly put some simple file globing statements like 'include
"/etc/tsig/*.key";'. It's not a big deal, though.

-- 
Andrew C. Dingman
Unix Administrator
Cook
(812)339-2235 x2131
adingman at cookgroup.com



More information about the dhcp-users mailing list