From 26a20a10297e9504e3cea8407ea6480c14525ee9 Mon Sep 17 00:00:00 2001 From: Dave Russell <39733752+007revad@users.noreply.github.com> Date: Fri, 17 Nov 2023 18:38:52 +1100 Subject: [PATCH] Update syno_hdd_db.sh --- 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 93d9ec9..76edd5f 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -727,7 +727,6 @@ fi # PCIe M.2 cards and connected Expansion Units. fixdrivemodel(){ - echo # Remove " 00Y" from end of Samsung/Lenovo SSDs # Github issue #13 if [[ $1 =~ MZ.*" 00Y" ]]; then hdmodel=$(printf "%s" "$1" | sed 's/ 00Y.*//') @@ -746,7 +745,8 @@ fixdrivemodel(){ hdmodel=${hdmodel#"FUJISTU "} # Remove "FUJISTU " from start of model name hdmodel=${hdmodel#"APPLE HDD "} # Remove "APPLE HDD " from start of model name fi -} +} + getdriveinfo(){ # $1 is /sys/block/sata1 etc