Browse Source
Merge pull request #40 from 007revad/develop
Develop
pull/91/head
v1.2.28
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.28
- Fixed bug in getting the M.2 card model.
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.
- Minor tweaks to the shell output.
@ -413,7 +413,7 @@ for d in /sys/block/*; do
if [ [ $m2 != "no" ] ] ; then
getm2info " $d " "nvme"
# Get M.2 card model if in M.2 card
getcardmodel " /dev/ $ d"
getcardmodel " /dev/ $( basename -- " ${ d } " ) "
fi
fi
; ;
@ -423,7 +423,7 @@ for d in /sys/block/*; do
if [ [ $m2 != "no" ] ] ; then
getm2info " $d " "nvc"
# Get M.2 card model if in M.2 card
getcardmodel " /dev/ $ d"
getcardmodel " /dev/ $( basename -- " ${ d } " ) "
fi
fi
; ;