From da2966ca2682705df87626cc0da91b81df0d9d3e Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 13 Jan 2011 12:37:29 +0100 Subject: [PATCH] util-linux: dont set swappiness if not needed Signed-off-by: Stephan Raue --- packages/sysutils/util-linux/init.d/32_swapfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/sysutils/util-linux/init.d/32_swapfile b/packages/sysutils/util-linux/init.d/32_swapfile index 2b40145842..80cb8be661 100644 --- a/packages/sysutils/util-linux/init.d/32_swapfile +++ b/packages/sysutils/util-linux/init.d/32_swapfile @@ -47,7 +47,5 @@ else sysctl -w vm.swappiness=60 2>&1 > /dev/null fi - else - sysctl -w vm.swappiness=0 2>&1 > /dev/null fi )& \ No newline at end of file