summaryrefslogtreecommitdiffstats
path: root/etc/init.d/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d/Makefile.am')
-rw-r--r--etc/init.d/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/init.d/Makefile.am b/etc/init.d/Makefile.am
new file mode 100644
index 000000000..094681edd
--- /dev/null
+++ b/etc/init.d/Makefile.am
@@ -0,0 +1,5 @@
+EXTRA_DIST = zfs.fedora zfs.lsb
+
+install-data-local:
+ @instdest=$(DESTDIR)/$(sysconfdir)/init.d/zfs; \
+ $(INSTALL) -TD zfs.$(DEFAULT_INIT_SCRIPT) $$instdest