fixed wrong replace for SYSCONFDIR, fixed wrong config file