aboutsummaryrefslogtreecommitdiffstats
path: root/vespabase/src/rhel-prestart.sh
diff options
context:
space:
mode:
authorVegard Sjonfjell <vegard@yahoo-inc.com>2016-06-22 12:54:16 +0200
committerVegard Sjonfjell <vegard@yahoo-inc.com>2016-06-22 12:54:16 +0200
commitc9d0ebe891bff7e85f87fe19035cd4a5c9cba767 (patch)
tree4c45813261bd558353fdcf2f6f3d7a5075468ec9 /vespabase/src/rhel-prestart.sh
parent18e9c0abd8c83315a2f2ad9b3c215a9b272bbade (diff)
Remove /etc/profile editing
Diffstat (limited to 'vespabase/src/rhel-prestart.sh')
-rwxr-xr-xvespabase/src/rhel-prestart.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/vespabase/src/rhel-prestart.sh b/vespabase/src/rhel-prestart.sh
index bdda265b37f..ef7757bef7e 100755
--- a/vespabase/src/rhel-prestart.sh
+++ b/vespabase/src/rhel-prestart.sh
@@ -111,13 +111,6 @@ chown -hR ${VESPA_USER} var/db/vespa
# Delete temporary files created by storage when running.
rm -f /home/y/tmp/hostinfo.*.*.report
-# Add $VESPA_HOME/bin to default path
-perl -pi -e 'm=^pathmunge /usr/X11R6/bin after= and s=^=pathmunge /home/y/bin after; =' /etc/profile
-
-#Enable core files by default
-perl -pi -e 's/^# No core files by default/# Vespa: Enable core files by default/' /etc/profile
-perl -pi -e 's/^ulimit -S -c 0/ulimit -S -c unlimited/' /etc/profile
-
# Don't fail script if this command fails.
# * sysctl will always return error on openvz jails
sysctl kernel.core_pattern="|${VESPA_HOME}bin/vespa-core-dumper lz4 ${VESPA_HOME}var/crash/%e.core.%p.lz4" || true