From 279fb7afc114b2c0bae836f802f0afb81e4a19c7 Mon Sep 17 00:00:00 2001 From: morrownr Date: Wed, 28 Jun 2023 01:16:55 -0500 Subject: [PATCH] update to handle very low mem systems --- install-driver.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install-driver.sh b/install-driver.sh index addc4b7..8e04635 100755 --- a/install-driver.sh +++ b/install-driver.sh @@ -149,6 +149,10 @@ if [ "$sproc" -gt 1 ]; then then sproc=2 fi + if [ "$SMEM" -lt 700000 ] + then + sproc=1 + fi fi # display number of in-use processing units / total processing units