Browse Source

Update syno_hdd_db.sh

- Fixed bug where expansion units ending in RP or II were not detected.
- Added a --restore option to undo all changes made by the script.
- Now looks for and edits both v7 and non-v7 db files to solve issue #11 for RS '21 models running DSM 6.2.4. This will also ensure the script still works if:
    - Synology append different numbers to the db file names in DSM 8 etc.
    - The detected NAS model name does not match the .db files' model name.
- Now backs up the .db.new files (as well as the .db files).
- Now shows max memory in GB instead of MB.
- Now shows status of "Support disk compatibility" setting even if it wasn't changed.
- Now shows status of "Support memory compatibility" setting even if it wasn't changed.
pull/63/head
Dave Russell 3 years ago
committed by GitHub
parent
commit
f47a863c7f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      syno_hdd_db.sh

3
syno_hdd_db.sh

@ -47,7 +47,6 @@
# #
# Now shows status of "Support memory compatibility" setting even if it wasn't changed. # Now shows status of "Support memory compatibility" setting even if it wasn't changed.
# #
#
# Improved shell output when editing max memory setting. # Improved shell output when editing max memory setting.
# #
# Changed method of checking if drive is a USB drive to prevent ignoring internal drives on RS models. # Changed method of checking if drive is a USB drive to prevent ignoring internal drives on RS models.
@ -139,7 +138,7 @@
# Optionally disable "support_disk_compatibility". # Optionally disable "support_disk_compatibility".
scriptver="v2.2.41" scriptver="v2.2.42"
script=Synology_HDD_db script=Synology_HDD_db
repo="007revad/Synology_HDD_db" repo="007revad/Synology_HDD_db"

Loading…
Cancel
Save