[Dnsmasq-discuss] extension of configuration files
Helmut Hullen
Hullen at t-online.de
Sun Jul 5 16:25:00 BST 2009
Hallo, Rance,
Du meintest am 05.07.09:
>>>> Could dnsmasq exclude *.new files from reading? Some other
>>>> programs do so.
>>> By extension, it should probably just ignore everything not *.conf,
>>> since other package managers use other methods, e.g. .rpmnew and
>>> .rpmold.
> I think this is a great idea but I don't think it belongs in dnsmasq
> proper. I think it makes the code base bigger for no real feature
> gain.
???
Instead of
include $conf-dir/*
there would be
include $conf-dir/*.conf
Nothing more to do.
> This is something that could be handled in an init script
> stanza prior to actually launching dnsmasq.
> set a variable for the main config file
> parse it looking for config_dir
> if found, check contents for updated scripts (test will be different
> for each distro I suspect)
> mv the updated files to config_dir.update
> start dnsmasq the normal way
I may not write (and test, and debug) such a wrapper ...
Viele Gruesse!
Helmut
More information about the Dnsmasq-discuss
mailing list