diff --git a/etc/init.d/Makefile.am b/etc/init.d/Makefile.am index 94a21680b..c1b131bcb 100644 --- a/etc/init.d/Makefile.am +++ b/etc/init.d/Makefile.am @@ -16,7 +16,7 @@ $(init_SCRIPTS): -e 's,@udevruledir\@,$(udevruledir),g' \ -e 's,@sysconfdir\@,$(sysconfdir),g' \ -e 's,@initdir\@,$(initdir),g' \ - 'zfs.$(DEFAULT_INIT_SCRIPT).in' >'$@' + '$@.$(DEFAULT_INIT_SCRIPT).in' >'$@' distclean-local:: -$(RM) $(init_SCRIPTS) diff --git a/etc/init.d/Makefile.in b/etc/init.d/Makefile.in index 32c73dc9e..a639233a1 100644 --- a/etc/init.d/Makefile.in +++ b/etc/init.d/Makefile.in @@ -531,7 +531,7 @@ $(init_SCRIPTS): -e 's,@udevruledir\@,$(udevruledir),g' \ -e 's,@sysconfdir\@,$(sysconfdir),g' \ -e 's,@initdir\@,$(initdir),g' \ - 'zfs.$(DEFAULT_INIT_SCRIPT).in' >'$@' + '$@.$(DEFAULT_INIT_SCRIPT).in' >'$@' distclean-local:: -$(RM) $(init_SCRIPTS)