Adding condition for executing dsconfig and dsreplication postconf