aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--initscripts.spec2
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 28dde49e..e780d847 100644
--- a/Makefile
+++ b/Makefile
@@ -95,6 +95,7 @@ install-post: install-etc
install -m 0755 -d $$dir; \
ln -srf $(DESTDIR)$(sysconfdir)/rc.d/rc$$idx.d $(DESTDIR)$(sysconfdir)/; \
done
+ ln -srf $(DESTDIR)$(sysconfdir)/rc.d/init.d $(DESTDIR)$(sysconfdir)/init.d
touch $(DESTDIR)$(sysconfdir)/rc.d/rc.local
chmod 0755 $(DESTDIR)$(sysconfdir)/rc.d/rc.local
diff --git a/initscripts.spec b/initscripts.spec
index 77abc7f7..ad0a9d5d 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -283,6 +283,8 @@ fi
# RC symlinks:
%{_sysconfdir}/rc[0-6].d
+%{_sysconfdir}/init.d
+
# ---------------
%{_bindir}/*