Add conditional chkconfig to packaging
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 3 Jul 2013 23:12:37 +0000 (16:12 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 3 Jul 2013 23:44:24 +0000 (16:44 -0700)
commitba661a6e3f118fbf66ac11dafbe4cb7ac3fa51bd
tree7077b8ca4d8940ea6db7b2688ac0885faec2bb73
parente9832eb2721ce1695fa8bdaa908cdde9690f95df
Add conditional chkconfig to packaging

Prior to adopting the kmod style packaging the zfs packages
would conditionally invoke /sbin/chkconfig to create the
proper links for the init script.  This is done conditionally
because many distributions are moving away from SysV style
init scripts and we don't want to cause errors on those.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1376
rpm/generic/zfs.spec.in