Add support for init.d scripts