From 326cb9679993159fdd9a1d6a3d1ec44f87450478 Mon Sep 17 00:00:00 2001 From: Michael Kroes Date: Mon, 14 Mar 2016 11:26:30 +0100 Subject: [PATCH] One zero to many in the memory requirements for swap space --- setup/system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/system.sh b/setup/system.sh index a7b5cee4..87b0342f 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -18,7 +18,7 @@ source setup/functions.sh # load our functions SWAP_MOUNTED=$(grep "swap" /proc/mounts) TOTAL_PHYSICAL_MEM=$(head -n 1 /proc/meminfo | awk '{print $2}') -if [ $TOTAL_PHYSICAL_MEM -lt 19000000 ]; then +if [ $TOTAL_PHYSICAL_MEM -lt 1900000 ]; then if [ -z "$SWAP_MOUNTED" ]; then if [ ! -e /swapfile ]; then echo "Adding swap to the system..."