>From [EMAIL PROTECTED] Mon Mar 19 21:20:50 2001


>Would it be possible to make the file name of the default files, the
>ones that normally reside in /etc/default/<prog>, be configurable?
>I need this for my installations, partly to support a networked
>environment where many machines share the same binaries and partly to
>have private default files for each cdrtools version.

>I suggest that the something like the following macro names can be
>used to overwrite the default file location:

>       CDRECORD_DEFAULT_FILE
>       RSCSI_DEFAULT_FILE

I don't understand you.

the directory /etc/default/ _is_ the local configuration directory
for your machine. I believe that there is only the need for
one machine global config file.

>In addition the `DEFLT' macro in `include/deflts.h' should also be
>configurable.

/etc/default _is_ the official directory to put local configs in.

>The default values are used if the macros are undefined, that is good old

>       #ifndef CDRECORD_DEFAULT_FILE
>       #define CDRECORD_DEFAULT_FILE "/etc/default/cdrecord"
>       #endif

>as we all know.

>These macros can then be specified in the DEFAULTS/Defaults.<sys> file
>using -D<var>=<value> in a make variable.

>While it would be nice if the location of the default file is also
>represented in the installed version of the man pages, it is by no
>means a requirement (for me, at least).

I see no reason why someone would like to have different configs on one
machine....


J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to