007revad
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
2 deletions
-
CHANGES.txt
-
syno_hdd_db.sh
|
|
@ -1,3 +1,6 @@ |
|
|
|
|
|
v1.2.24 |
|
|
|
|
|
- Bug fix. Ignoring removable drives was ignoring all drives in DSM 7 on a RS2421rp+. Fix issue #23. |
|
|
|
|
|
|
|
|
v1.2.23 |
|
|
v1.2.23 |
|
|
- Changed to show if no M.2 cards were found, if M.2 drives were found. |
|
|
- Changed to show if no M.2 cards were found, if M.2 drives were found. |
|
|
|
|
|
|
|
|
|
|
|
@ -326,8 +326,8 @@ fixdrivemodel(){ |
|
|
|
|
|
|
|
|
getdriveinfo() { |
|
|
getdriveinfo() { |
|
|
# Skip removable drives (USB drives) |
|
|
# Skip removable drives (USB drives) |
|
|
removable=$(cat "$1/removable") |
|
|
removable=$(cat "$1/removable") # Some DSM 7 RS models return 1 for internal drives! |
|
|
if [[ $removable == "0" ]]; then |
|
|
if [[ $removable == "0" ]] || [[ $dsm -gt "6" ]]; then |
|
|
# Get drive model and firmware version |
|
|
# Get drive model and firmware version |
|
|
hdmodel=$(cat "$1/device/model") |
|
|
hdmodel=$(cat "$1/device/model") |
|
|
hdmodel=$(printf "%s" "$hdmodel" | xargs) # trim leading and trailing white space |
|
|
hdmodel=$(printf "%s" "$hdmodel" | xargs) # trim leading and trailing white space |
|
|
|