mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
util-linux: use vm.swappiness=10 per default
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
918c8836d1
commit
84813a13ac
@ -45,6 +45,6 @@ fi
|
|||||||
for i in $SWAP; do
|
for i in $SWAP; do
|
||||||
swapon -p 10000 $SWAP 2>&1 > /dev/null
|
swapon -p 10000 $SWAP 2>&1 > /dev/null
|
||||||
done
|
done
|
||||||
sysctl -w vm.swappiness=1 2>&1 > /dev/null
|
sysctl -w vm.swappiness=10 2>&1 > /dev/null
|
||||||
fi
|
fi
|
||||||
)&
|
)&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user