Compare commits

...

2 Commits

Author SHA1 Message Date
3c23a31d18
etc/sysctl.d: add 99-ssd-swappiness.conf (and .gitignore)
The default 99-sysctl.conf doesn't have to be here, it's a symlink to
top directory anyway.
2022-06-13 17:20:53 +03:00
fd735465d5
Resolve #143 2022-06-13 17:18:15 +03:00
4 changed files with 6 additions and 2 deletions

1
etc/sysctl.d/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
99-sysctl.conf

View File

@ -0,0 +1,3 @@
# Only use swap when it has to be used. On SSDs it's preferable to not have
# so much swap use, while on HDD the default 60 is ok.
vm.swappiness = 1

View File

@ -146,7 +146,7 @@ if [[ $UNAME = Darwin ]]; then
(echo "")
(last -10&)
fi
(echo 'Aferoj emas funkcii sin mem.'&)
(printf "Aferoj emas funkcii sin mem.\n\tFaru jogon, sentu, ne provu perfektecon." && echo&)
# fix dircolors for Selenized https://github.com/jan-warchol/selenized/blob/master/other-apps/dircolors/README.md
export LS_COLORS="$LS_COLORS:ow=1;7;34:st=30;44:su=30;41"

View File

@ -101,7 +101,7 @@ if [[ $UNAME = Darwin ]]; then
(echo "")
(last -10&)
fi
(echo 'Aferoj emas funkcii sin mem.'&)
(printf "Aferoj emas funkcii sin mem.\n\tFaru jogon, sentu, ne provu perfektecon." && echo&)
# fix dircolors for Selenized https://github.com/jan-warchol/selenized/blob/master/other-apps/dircolors/README.md
export LS_COLORS="$LS_COLORS:ow=1;7;34:st=30;44:su=30;41"