From 9ed341f0107535230480b3d595ad7ea14c2f9480 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 13 Mar 2025 11:32:04 +0100 Subject: [PATCH] feat: Do not check RAM on ZFS --- src/reset.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/reset.sh b/src/reset.sh index 8c95931..9113c2b 100644 --- a/src/reset.sh +++ b/src/reset.sh @@ -134,6 +134,8 @@ echo # Check memory +[[ "${FS,,}" == "zfs" ]] && RAM_CHECK="N" + if [[ "$RAM_CHECK" != [Nn]* ]]; then if (( (RAM_WANTED + RAM_SPARE) > RAM_AVAIL )); then error "Your configured RAM_SIZE of $WANTED_GB GB is too high for the $AVAIL_GB GB of memory available, please set a lower value."