2010/8/6 Kalev Lember <[email protected]>:
> On 08/06/2010 06:29 PM, Ludovic Rousseau wrote:
>>
>> I now use:
>> # default value of sysconfdir
>> if test x"${sysconfdir}" == x'${prefix}/etc'; then
>>         # set sysconfdir to /etc instead of /usr/etc if prefix=/usr
>>         if test x${prefix} = x/usr; then
>>                 sysconfdir="/etc"
>>         fi
>>
>>         # add "/reader.conf.d" to the default value
>>         sysconfdir="${sysconfdir}/reader.conf.d"
>> fi
>
> What happens with the common case for distros where $prefix=/usr and
> $sysconfdir=/etc? It looks very much like pcscd will then consider whole
> /etc as its config dir ...

If your configuration directory for pcscd is NOT /etc then do not use
--sysconfigdir=/etc

> I'd rather kill the sysconfdir="${sysconfdir}/reader.conf.d" line and set it
> down below instead: PCSCLITE_CONFIG_DIR="${sysconfdir_exp}/reader.conf.d"

That was the case before. But then if you use
--sysconfdir=/etc/reader.conf.d you end up with
sysconfdir=/etc/reader.conf.d/reader.conf.d

Just set sysconfdir to the configuration directory or file you want to
use with pcscd.

Bye

-- 
 Dr. Ludovic Rousseau

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to