Skip to content

Commit

Permalink
Update syno_hdd_db.sh
Browse files Browse the repository at this point in the history
Fixed bug where newly connected expansion units weren't found until up to 24 hours later. #124
  • Loading branch information
007revad authored Aug 3, 2023
1 parent 0688608 commit e20d595
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions syno_hdd_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
# Change how synoinfo.conf is backed up and restored to prevent issue #73

# 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 M2D18 for RS822RP+, RS822+, RS1221RP+ and RS1221+ with older DSM version.
#
Expand All @@ -42,7 +44,6 @@
#
# Fixed bug where sata1 drive firmware version was wrong if there was a sata10 drive.
#
#
# 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.
Expand Down Expand Up @@ -201,7 +202,7 @@
# Optionally disable "support_disk_compatibility".


scriptver="v3.1.61"
scriptver="v3.1.62"
script=Synology_HDD_db
repo="007revad/Synology_HDD_db"

Expand Down Expand Up @@ -879,6 +880,10 @@ fi


# 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)
path="/var/log/diskprediction"
# shellcheck disable=SC2012
Expand Down

0 comments on commit e20d595

Please sign in to comment.