new scripts

This commit is contained in:
Stefen Auris 2018-01-04 15:58:10 -05:00
parent 017342172f
commit f38364c680
2 changed files with 12 additions and 0 deletions

8
scripts/swappiness.sh Executable file
View 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