aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJan Macku <jamacku@redhat.com>2019-06-06 15:43:42 +0200
committerLukáš Nykrýn <lnykryn@redhat.com>2019-06-06 17:12:59 +0200
commitfe85d7bfa8909059716d17802b89454dfb8f9f19 (patch)
treef9be1f100fc5ecc48aa1646387b641cd9eea4457 /Makefile
parent95632676a94a32bfa0a334b8e7f1c0fc87ce1af4 (diff)
downloadinitscripts-fe85d7bfa8909059716d17802b89454dfb8f9f19.tar
initscripts-fe85d7bfa8909059716d17802b89454dfb8f9f19.tar.gz
initscripts-fe85d7bfa8909059716d17802b89454dfb8f9f19.tar.bz2
initscripts-fe85d7bfa8909059716d17802b89454dfb8f9f19.tar.xz
initscripts-fe85d7bfa8909059716d17802b89454dfb8f9f19.zip
Create symlink (/etc/init.d) to /etc/rc.d/init.d
Resolve problem when wasn't installed chkconfig package. BZ #1716386
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 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