mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-05 09:42:53 +01:00
parent
9ba086d862
commit
2935cbdeb4
4
bashrc
4
bashrc
@ -830,8 +830,8 @@ function sysctl-mikaela() {
|
|||||||
# Function to permanently set sysctl options which I want.
|
# Function to permanently set sysctl options which I want.
|
||||||
function sysctl-mikaela-run() {
|
function sysctl-mikaela-run() {
|
||||||
set -x
|
set -x
|
||||||
echo 'echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf'
|
echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf
|
||||||
echo 'echo vm.swappiness = 1 >> /etc/sysctl.conf'
|
echo vm.swappiness = 1 >> /etc/sysctl.conf
|
||||||
sysctl -p
|
sysctl -p
|
||||||
set +x
|
set +x
|
||||||
}
|
}
|
||||||
|
4
zshrc
4
zshrc
@ -803,8 +803,8 @@ function sysctl-mikaela() {
|
|||||||
# Function to permanently set sysctl options which I want.
|
# Function to permanently set sysctl options which I want.
|
||||||
function sysctl-mikaela-run() {
|
function sysctl-mikaela-run() {
|
||||||
set -x
|
set -x
|
||||||
echo 'echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf'
|
echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf
|
||||||
echo 'echo vm.swappiness = 1 >> /etc/sysctl.conf'
|
echo vm.swappiness = 1 >> /etc/sysctl.conf
|
||||||
sysctl -p
|
sysctl -p
|
||||||
set +x
|
set +x
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user