I don't understand, we got $ETC/${mod}d.ini"  and "$"${mod}CFG

where is the d.ini part ? The ocnfiguration is ini part, not cfg