new scripts
This commit is contained in:
parent
017342172f
commit
f38364c680
2 changed files with 12 additions and 0 deletions
8
scripts/swappiness.sh
Executable file
8
scripts/swappiness.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
if [ $1 -n]
|
||||
then
|
||||
echo "Please provide a number to set swappiness value!" && exit 1
|
||||
else
|
||||
echo "vm.swappiness="$1
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue