Browse Source

Merge pull request #562 from 007revad/develop

Develop
main v3.6.121
Dave Russell 2 days ago
committed by GitHub
parent
commit
47c2287a6b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      CHANGES.txt
  2. 4
      syno_hdd_db.sh

3
CHANGES.txt

@ -1,8 +1,7 @@
v3.6.120
v3.6.121
- Added --reboot option to reboot the NAS after a DSM update where the build number has changed.
- Only needed if NVMe volume or PCIe card need a 2nd reboot after DSM update.
- Note: This version of the script needs to run once to create the file that tracks the DSM build number.
- Bug fix for drive models with multiple consecutive spaces in model name. Issue #559
v3.6.119
- Bug fix for "cat: /sys/block//sys/block/sata1/device/vendor: No such file or directory" errors. Issue #554

4
syno_hdd_db.sh

@ -29,7 +29,7 @@
# /var/packages/StorageManager/target/ui/storage_panel.js
scriptver="v3.6.120"
scriptver="v3.6.121"
script=Synology_HDD_db
repo="007revad/Synology_HDD_db"
scriptname=syno_hdd_db
@ -1026,7 +1026,7 @@ getdriveinfo(){
# Get drive model
hdmodel=$(cat "$1/device/model")
hdmodel=$(echo "$hdmodel" | sed 's/^[[:space:]]//;s/[[:space:]]$//') # trim leading and trailing white space
hdmodel=$(printf "%s" "$hdmodel" | xargs) # trim leading and trailing white space
# Fix dodgy model numbers
fixdrivemodel "$hdmodel"

Loading…
Cancel
Save