initial smf support

This is my first stab at adding smf support, which is SmartOS' (and probably other illumos-based distros) init system/process manager of choice.