1
0

Update dmidecode2dokuwiki.sh

This commit is contained in:
2026-01-22 12:00:28 +01:00
parent 4c82a10e96
commit 5b589c4fb0

View File

@@ -47,7 +47,10 @@ while read -r SIZE_LINE; do
SIZE_VALUE=$(echo "$SIZE_LINE" | awk '{print $1}')
SIZE_UNIT=$(echo "$SIZE_LINE" | awk '{print $2}')
# Skip regels met SIZE_VALUE > 999 (dus >3 digits)
if (( SIZE_VALUE > 999 )); then
continue
fi
case "$SIZE_UNIT" in
MB|M)
GB=$(( SIZE_VALUE / 1024 ))