Skip to content

Commit

Permalink
Update syno_hdd_db.sh
Browse files Browse the repository at this point in the history
v3.5.104
- Bug fix for drives that return "HCST <model>" as the model, like HGST drives do. Issue #389
  • Loading branch information
007revad authored Dec 3, 2024
1 parent 622221b commit 6c4c2c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion syno_hdd_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# /var/packages/StorageManager/target/ui/storage_panel.js


scriptver="v3.5.103"
scriptver="v3.5.104"
script=Synology_HDD_db
repo="007revad/Synology_HDD_db"
scriptname=syno_hdd_db
Expand Down Expand Up @@ -884,6 +884,9 @@ fixdrivemodel(){
hdmodel=${hdmodel#"HGST "} # Remove "HGST " from start of model name
hdmodel=${hdmodel#"TOSHIBA "} # Remove "TOSHIBA " from start of model name

# Chinese brand?
hdmodel=${hdmodel#"HCST "} # Remove "HCST " from start of model name

# Old drive brands
hdmodel=${hdmodel#"Hitachi "} # Remove "Hitachi " from start of model name
hdmodel=${hdmodel#"SAMSUNG "} # Remove "SAMSUNG " from start of model name
Expand Down

0 comments on commit 6c4c2c1

Please sign in to comment.