fixed wrong replace for SYSCONFDIR, fixed wrong config file
Merge remote-tracking branch 'origin/1.4' into devel