diff options
author | Bill Nottingham <notting@redhat.com> | 2006-10-16 20:38:43 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-10-16 20:38:43 +0000 |
commit | 00b168f895a662adb0cecb12e8d619778f35f633 (patch) | |
tree | a0f844adf739667b5ff9fe95d8aff8bd9dfe65f6 /Makefile | |
parent | ec578b1a8a76639d13d670467cd95e0a6369d917 (diff) | |
download | initscripts-00b168f895a662adb0cecb12e8d619778f35f633.tar initscripts-00b168f895a662adb0cecb12e8d619778f35f633.tar.gz initscripts-00b168f895a662adb0cecb12e8d619778f35f633.tar.bz2 initscripts-00b168f895a662adb0cecb12e8d619778f35f633.tar.xz initscripts-00b168f895a662adb0cecb12e8d619778f35f633.zip |
add sysctl.conf for bigger memory settings for various arches (#184820)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -6,6 +6,8 @@ VERSION=$(shell awk '/Version:/ { print $$2 }' initscripts.spec) CVSTAG = r$(subst .,-,$(VERSION)) CVSROOT = $(shell cat CVS/Root) +ARCH = $(shell uname -m) + mandir=/usr/share/man all: @@ -28,10 +30,8 @@ install: install -m644 crypttab.5 $(ROOT)$(mandir)/man5 install -m644 service.8 sys-unconfig.8 $(ROOT)$(mandir)/man8 install -m644 sysctl.conf $(ROOT)/etc/sysctl.conf - if uname -m | grep -q sparc ; then \ - install -m644 sysctl.conf.sparc $(ROOT)/etc/sysctl.conf ; fi - if uname -m | grep -q s390 ; then \ - install -m644 sysctl.conf.s390 $(ROOT)/etc/sysctl.conf ; fi + if [ -f sysctl.conf.$(ARCH) ]; then + install -m644 sysctl.conf.$(ARCH) $(ROOT)/etc/sysctl.conf ; fi mkdir -p $(ROOT)/etc/X11 install -m755 prefdm $(ROOT)/etc/X11/prefdm |