From d1f36c71f980cf3cc4e688333e59fb303fc900df Mon Sep 17 00:00:00 2001 From: 007revad <39733752+007revad@users.noreply.github.com> Date: Sun, 26 Mar 2023 06:26:50 +1100 Subject: [PATCH 1/2] Update syno_hdd_db.sh --- syno_hdd_db.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/syno_hdd_db.sh b/syno_hdd_db.sh index d1b880a..5c027d0 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -89,7 +89,7 @@ # Optionally disable "support_disk_compatibility". -scriptver="v1.2.24" +scriptver="v1.2.25" script=Synology_HDD_db repo="007revad/Synology_HDD_db" @@ -276,11 +276,11 @@ if ! printf "%s\n%s\n" "$tag" "$scriptver" | echo -e "${Error}ERROR ${Off} Failed to delete"\ "downloaded $script-$shorttag.tar.gz!" else - echo -e "\n$tag and changes.txt are in "\ - "${Cyan}$scriptpath/$script-$shorttag${Off}" + echo -e "\n$tag and changes.txt downloaded to:"\ + "$scriptpath" echo -e "${Cyan}Do you want to stop this script"\ "so you can run the new one?${Off} {y/n]" - read -r -t 30 reply + read -r reply if [[ ${reply,,} == "y" ]]; then exit; fi fi fi From b6c435dd6e2e8dcca8006ba592b69a40a03e78d7 Mon Sep 17 00:00:00 2001 From: 007revad <39733752+007revad@users.noreply.github.com> Date: Sun, 26 Mar 2023 06:28:27 +1100 Subject: [PATCH 2/2] Update CHANGES.txt --- CHANGES.txt | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 0e20863..2d49648 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,6 @@ +v1.2.25 +- Minor bug fix. + v1.2.24 - Bug fix. Ignoring removable drives was ignoring all drives in DSM 7 on a RS2421rp+. Fix issue #23. @@ -71,16 +74,16 @@ v1.1.8 - If run without -f or -force "support_disk_compatibility" is re-enabled. v1.0.7 -Added message if newer script version is available. +- Added message if newer script version is available. v1.0.6 -Added 2nd method of disabling disk compatibility to solve issue #1 and #4 for the few people where the original method didn't work. +- Added 2nd method of disabling disk compatibility to solve issue #1 and #4 for the few people where the original method didn't work. v1.0.5 -Changed to avoid issue #2 +- Changed to avoid issue #2 v1.0.4 -Now backs up the database file if there is no backup already. +- Now backs up the database file if there is no backup already. v1.0.3 Changed to avoid avoid error messages from previous change to search for sda and sata# drives in DSM 6 and DSM 7. @@ -88,13 +91,13 @@ Changed to avoid avoid error messages from previous change to search for sda and - /dev/sd*: No such file or directory v1.0.2 -Improved formatting when listing found drives. +- Improved formatting when listing found drives. v1.0.1 -Fixed issue where drives weren't detected if: -- NAS had been updated from DSM 6 to DSM 7 and still used sda, sdb etc. -- Models like the DVA3219 that use sata# even in DSM 6. +- Fixed issue where drives weren't detected if: + - NAS had been updated from DSM 6 to DSM 7 and still used sda, sdb etc. + - Models like the DVA3219 that use sata# even in DSM 6. v1.0.0 -Initial release. +- Initial release.