From f47a863c7f0d84e9c085299ac794b0a6a5474e69 Mon Sep 17 00:00:00 2001 From: Dave Russell <39733752+007revad@users.noreply.github.com> Date: Mon, 24 Apr 2023 08:50:54 +1000 Subject: [PATCH] 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. --- syno_hdd_db.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/syno_hdd_db.sh b/syno_hdd_db.sh index f70d0e4..cf0b986 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -47,7 +47,6 @@ # # Now shows status of "Support memory compatibility" setting even if it wasn't changed. # -# # 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. @@ -139,7 +138,7 @@ # Optionally disable "support_disk_compatibility". -scriptver="v2.2.41" +scriptver="v2.2.42" script=Synology_HDD_db repo="007revad/Synology_HDD_db"