OS X hack for readlink -f
Create /etc/init.d if necessary
Mac OSX compatibility (readlink -f issue)