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
|
|
@ -728,7 +728,7 @@ fi |
|
|
|
|
|
|
|
|
fixdrivemodel(){ |
|
|
fixdrivemodel(){ |
|
|
# Remove " 00Y" from end of Samsung/Lenovo SSDs # Github issue #13 |
|
|
# Remove " 00Y" from end of Samsung/Lenovo SSDs # Github issue #13 |
|
|
if [[ $1 =~ MZ.*" 00Y" ]]; then |
|
|
if [[ $1 ]]; then |
|
|
hdmodel=$(printf "%s" "$1" | sed 's/ 00Y.*//') |
|
|
hdmodel=$(printf "%s" "$1" | sed 's/ 00Y.*//') |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|