Browse Source

Update syno_hdd_db.sh

Fixed bug where newly connected expansion units weren't found until up to 24 hours later. #124
pull/128/head
Dave Russell 2 years ago
committed by GitHub
parent
commit
e20d59568c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      syno_hdd_db.sh

9
syno_hdd_db.sh

@ -29,6 +29,8 @@
# Change how synoinfo.conf is backed up and restored to prevent issue #73 # Change how synoinfo.conf is backed up and restored to prevent issue #73
# DONE # DONE
# Fixed bug where newly connected expansion units weren't found until up to 24 hours later. #124
#
# Added enabling E10M20-T1, M2D20 and M2D18 for DS1821+, DS1621+ and DS1520+. # Added enabling E10M20-T1, M2D20 and M2D18 for DS1821+, DS1621+ and DS1520+.
# Added enabling M2D18 for RS822RP+, RS822+, RS1221RP+ and RS1221+ with older DSM version. # Added enabling M2D18 for RS822RP+, RS822+, RS1221RP+ and RS1221+ with older DSM version.
# #
@ -42,7 +44,6 @@
# #
# Fixed bug where sata1 drive firmware version was wrong if there was a sata10 drive. # Fixed bug where sata1 drive firmware version was wrong if there was a sata10 drive.
# #
#
# Minor bug fix for checking amount of installed memory. # Minor bug fix for checking amount of installed memory.
# #
# Now enables any installed Synology M.2 PCIe cards for models that don't officially support them. # Now enables any installed Synology M.2 PCIe cards for models that don't officially support them.
@ -201,7 +202,7 @@
# Optionally disable "support_disk_compatibility". # Optionally disable "support_disk_compatibility".
scriptver="v3.1.61" scriptver="v3.1.62"
script=Synology_HDD_db script=Synology_HDD_db
repo="007revad/Synology_HDD_db" repo="007revad/Synology_HDD_db"
@ -879,6 +880,10 @@ fi
# Expansion units # Expansion units
# Create new /var/log/diskprediction log to ensure newly connected ebox is in latest log
# Otherwise the new /var/log/diskprediction log is only created a midnight.
syno_disk_data_collector record
# Get list of connected expansion units (aka eunit/ebox) # Get list of connected expansion units (aka eunit/ebox)
path="/var/log/diskprediction" path="/var/log/diskprediction"
# shellcheck disable=SC2012 # shellcheck disable=SC2012

Loading…
Cancel
Save