aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2013-08-16 08:13:35 +0200
committerLukas Nykryn <lnykryn@redhat.com>2013-08-16 08:13:35 +0200
commitb873be923e1ba63b0cbd98aee317d34964b42280 (patch)
tree96293c4343fdc479a1b8a0749066b2e01267f4f6 /Makefile
parent977e18e0f55ec3c617383614427da7eb3ea80eb6 (diff)
downloadinitscripts-b873be923e1ba63b0cbd98aee317d34964b42280.tar
initscripts-b873be923e1ba63b0cbd98aee317d34964b42280.tar.gz
initscripts-b873be923e1ba63b0cbd98aee317d34964b42280.tar.bz2
initscripts-b873be923e1ba63b0cbd98aee317d34964b42280.tar.xz
initscripts-b873be923e1ba63b0cbd98aee317d34964b42280.zip
symlink /etc/sysctl.conf -> /etc/sysctl.d/
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 97065a9c..7d1eff56 100644
--- a/Makefile
+++ b/Makefile
@@ -29,12 +29,14 @@ install:
install -m755 sys-unconfig $(ROOT)/usr/sbin
install -m644 service.8 sys-unconfig.8 $(ROOT)$(mandir)/man8
mkdir -p -m 755 $(ROOT)/usr/lib/sysctl.d
+ mkdir -p -m 755 $(ROOT)/etc/sysctl.d
install -m644 sysctl.conf $(ROOT)/usr/lib/sysctl.d/00-system.conf
if uname -m | grep -q sparc ; then \
install -m644 sysctl.conf.sparc $(ROOT)/usr/lib/sysctl.d/00-system.conf ; fi
if uname -m | grep -q s390 ; then \
install -m644 sysctl.conf.s390 $(ROOT)/usr/lib/sysctl.d/00-system.conf ; fi
install -m 644 sysctl.conf.README $(ROOT)/etc/sysctl.conf
+ ln -s ../sysctl.conf $(ROOT)/etc/sysctl.d/99-sysctl.conf
install -m755 -d $(ROOT)/etc/rc.d $(ROOT)/etc/sysconfig
cp -af rc.d/init.d $(ROOT)/etc/rc.d/