Updated to support FreeBSD rc.d framework.