How to make blocking init-scripts?