add support for redhat init.d scripts