change init.d permissions to 766