From 636cef1cd2e2a897db29e402ade1623dfcc2c579 Mon Sep 17 00:00:00 2001 From: 007revad <39733752+007revad@users.noreply.github.com> Date: Mon, 31 Aug 2026 08:49:38 +1000 Subject: [PATCH] v3.6.139 --- syno_hdd_db.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syno_hdd_db.sh b/syno_hdd_db.sh index 4b0df06..3e0ae89 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -291,9 +291,9 @@ if [[ -z "$modelname" && -f /proc/sys/kernel/syno_hw_version ]]; then modelname=$(cat /proc/sys/kernel/syno_hw_version 2>/dev/null || echo "") # Check for dodgy characters after model number if [[ ${modelname,,} =~ 'pv10-j'$ ]]; then # GitHub issue #10 - modelname=${modelname%??????}+ # replace last 6 chars with + + modelname=${modelname%??????}+ # replace last 6 chars with + elif [[ ${modelname} =~ '-j'$ ]]; then # GitHub issue #2 - modelname=${modelname%??} # remove last 2 chars + modelname=${modelname%??} # remove last 2 chars fi fi # Convert model to lower case