* On 2015-09-19 at 15:22 BST, Richard PALO wrote:
At "real" install time, INIT_SYSTEM should determine whether to
install the packages rc.d files to RCD_SCRIPTS_DIR or to install the
smf file. I believe share/examples should always have both.
I don't see any merit in that. It would add significant complexity,
and be very fragile having to determine INIT_SYSTEM at install time.
Where would you set it, pkg_install.conf? Environment variable?
Also, why would you want rc.d scripts when you have SMF support? And
what happens when we introduce launchd/systemd/etc support, do all
those INIT_SYSTEM's get installed too even though they may be
completely incompatible with the target system?
Basically I see no advantage to doing it that way and plenty of
drawbacks and inconsistencies.