From 9cc539a6e42acb1209a8dabc340dcfd7758f8d74 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 3 Nov 2024 02:18:59 -0500 Subject: [PATCH] Updated disk size check to 7G. --- pi4/files/usr/local/bin/configure-stormux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pi4/files/usr/local/bin/configure-stormux b/pi4/files/usr/local/bin/configure-stormux index 7ff7fa7..77e5968 100755 --- a/pi4/files/usr/local/bin/configure-stormux +++ b/pi4/files/usr/local/bin/configure-stormux @@ -69,7 +69,7 @@ fi diskSource="$(df --output='source' / | tail -1)" diskSize="$(df -h --output='size' / | tail -1 | tr -cd '[:digit:].')" diskSize=${diskSize%.*} -if [[ $diskSize -le 5 ]]; then +if [[ $diskSize -le 7 ]]; then echo "$diskSource is only $diskSize gigs, which means it probably needs to be resized. Would you like to do this now?" echo "Press y for yes or n for no followed by enter." read -r continue