[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OK to use /etc/default for non-init script default data?



On Tue, Jun 05, 2001 at 08:43:56AM +0200, Marc Haber wrote:
> On Mon, 4 Jun 2001 10:12:19 +0100, Julian Gilbey
> <J.D.Gilbey@qmw.ac.uk> wrote:
> >Why not just /etc/foorc or /etc/foo.conf or something like that?
> 
> Because the conffile is not a "real" conffile, but rather a shell
> script being sourced in, and /etc/foo.conf will probably suggest that
> this conffile is an upstream feature.

When you say "shell script", do you mean that it's a wrapper script,
or just a list of settings of the form "VAR=value"?  If you want to
make it clear that it's a Debian-specific thing, surely you can put a
note to that effect at the top of the file?  And if it's a wrapper
script, wouldn't it be a lot better to have the wrapper in /usr/bin,
with the real program called something like foo.real, and just the
variable settings in /etc?  It's just that /etc is where people are
likely to look....

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: