Dave Russell
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
syno_hdd_db.sh
|
|
@ -733,7 +733,7 @@ fixdrivemodel(){ |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# Brands that return "BRAND <model>" and need "BRAND " removed. |
|
|
# Brands that return "BRAND <model>" and need "BRAND " removed. |
|
|
if [[ $1 =~ ^[A-Za-z]{1,7}" ".* ]]; then |
|
|
if [[ $1 ]]; then |
|
|
# See Smartmontools database in /var/lib/smartmontools/drivedb.db |
|
|
# See Smartmontools database in /var/lib/smartmontools/drivedb.db |
|
|
hdmodel=${hdmodel#"WDC "} # Remove "WDC " from start of model name |
|
|
hdmodel=${hdmodel#"WDC "} # Remove "WDC " from start of model name |
|
|
hdmodel=${hdmodel#"HGST "} # Remove "HGST " from start of model name |
|
|
hdmodel=${hdmodel#"HGST "} # Remove "HGST " from start of model name |
|
|
|