Provide a rc.d script for archlinux

Unlike most other Linux distributions archlinux installs its
init scripts in /etc/rc.d insead of /etc/init.d.  This commit
provides an archlinux rc.d script for zfs and extends the
build infrastructure to ensure it get's installed in the
correct place.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #322
This commit is contained in:
Kyle Fuller
2011-07-10 16:57:33 +01:00
committed by Brian Behlendorf
parent 057e8eee35
commit 615ab66d18
58 changed files with 157 additions and 18 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
EXTRA_DIST = zfs.fedora zfs.gentoo zfs.lsb zfs.lunar zfs.redhat
EXTRA_DIST = zfs.fedora zfs.gentoo zfs.lsb zfs.lunar zfs.redhat zfs.arch
install-data-local:
@instdest=$(DESTDIR)/$(sysconfdir)/init.d/zfs; \
@instdest=$(DESTDIR)$(DEFAULT_INIT_DIR)/zfs; \
$(INSTALL) -TD zfs.$(DEFAULT_INIT_SCRIPT) $$instdest