Skip to content

Commit

Permalink
Merge pull request #40 from 007revad/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
007revad authored Mar 26, 2023
2 parents 6c96371 + d0924ca commit 2763910
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions syno_hdd_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand All @@ -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
;;
Expand Down

0 comments on commit 2763910

Please sign in to comment.