mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-03 16:52:37 +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 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
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user