update of the init script added to the doc/update/5.1-to-5.2.md

fix for issue 4171