Make init script work with OpenSUSE

OpenSUSE uses a init compatibility that breaks the init script. I added some work arounds so this will work on opensuse, but work normally on all other distros the rpm is built for