Wrap all init.d logic in a check for status != unmanaged.
Merge pull request #9 from tavisto/unmanaged-initd-fix

Wrap all init.d logic in a check for status != unmanaged.