flush privileges after granting slave replication permissions
do file configuration in its own shell script