Fix docker init script

This is the PR related to https://github.com/boot2docker/boot2docker/issues/487