1
0
mirror of https://gitea.blesmrt.net/mikaela/shell-things.git synced 2025-02-23 01:00:36 +01:00

bashrc & zshrc: fix sysctl-mikaela-run

Closes 
This commit is contained in:
Mikaela Suomalainen 2014-09-25 13:44:32 +03:00
parent 9ba086d862
commit 2935cbdeb4
2 changed files with 4 additions and 4 deletions

4
bashrc

@ -830,8 +830,8 @@ function sysctl-mikaela() {
# Function to permanently set sysctl options which I want.
function sysctl-mikaela-run() {
set -x
echo 'echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf'
echo 'echo vm.swappiness = 1 >> /etc/sysctl.conf'
echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf
echo vm.swappiness = 1 >> /etc/sysctl.conf
sysctl -p
set +x
}

4
zshrc

@ -803,8 +803,8 @@ function sysctl-mikaela() {
# Function to permanently set sysctl options which I want.
function sysctl-mikaela-run() {
set -x
echo 'echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf'
echo 'echo vm.swappiness = 1 >> /etc/sysctl.conf'
echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf
echo vm.swappiness = 1 >> /etc/sysctl.conf
sysctl -p
set +x
}