From e06da2dd600b2593436acdc25f91706e293940c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=B5=E4=BA=8C?= <66155308+miaoermua@users.noreply.github.com> Date: Mon, 29 Jul 2024 00:34:32 +0800 Subject: [PATCH] Update cattools.sh --- cattools.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cattools.sh b/cattools.sh index ab5ba1e..5266b63 100644 --- a/cattools.sh +++ b/cattools.sh @@ -901,6 +901,7 @@ sysupgrade() { echo "" + disk_size=$(fdisk -l /dev/sda | grep "Disk /dev/sda:" | awk '{print $3}') tolerance=$(echo "200/1024/1024" | bc -l) allowed_size=800.28 min_size=$(echo "$allowed_size - $tolerance" | bc -l)