Browse Source

Merge pull request #40 from 007revad/develop

Develop
pull/91/head v1.2.28
007revad 3 years ago
committed by GitHub
parent
commit
2763910b7c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      CHANGES.txt
  2. 4
      syno_hdd_db.sh

3
CHANGES.txt

@ -1,3 +1,6 @@
v1.2.28
- Fixed bug in getting the M.2 card model.
v1.2.27 v1.2.27
- Changed 'latest version check' to download and extract to /tmp then copy only the syno_hdd_db.sh and readme.txt files to the currrently running script's location. - Changed 'latest version check' to download and extract to /tmp then copy only the syno_hdd_db.sh and readme.txt files to the currrently running script's location.
- Minor tweaks to the shell output. - Minor tweaks to the shell output.

4
syno_hdd_db.sh

@ -413,7 +413,7 @@ for d in /sys/block/*; do
if [[ $m2 != "no" ]]; then if [[ $m2 != "no" ]]; then
getm2info "$d" "nvme" getm2info "$d" "nvme"
# Get M.2 card model if in M.2 card # Get M.2 card model if in M.2 card
getcardmodel "/dev/$d" getcardmodel "/dev/$(basename -- "${d}")"
fi fi
fi fi
;; ;;
@ -423,7 +423,7 @@ for d in /sys/block/*; do
if [[ $m2 != "no" ]]; then if [[ $m2 != "no" ]]; then
getm2info "$d" "nvc" getm2info "$d" "nvc"
# Get M.2 card model if in M.2 card # Get M.2 card model if in M.2 card
getcardmodel "/dev/$d" getcardmodel "/dev/$(basename -- "${d}")"
fi fi
fi fi
;; ;;

Loading…
Cancel
Save