From 6b6c982765a598f5c9d4c0e7653d38f7a00314ad Mon Sep 17 00:00:00 2001 From: 007revad <39733752+007revad@users.noreply.github.com> Date: Fri, 17 Mar 2023 18:48:00 +1100 Subject: [PATCH] Update syno_hdd_db.sh --- syno_hdd_db.sh | 64 ++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 47 insertions(+), 17 deletions(-) diff --git a/syno_hdd_db.sh b/syno_hdd_db.sh index 7f89b5d..a17b6b2 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -33,7 +33,7 @@ # It's also parsed and checked and probably in some cases it could be more critical to patch that one instead. # DONE -# Added support for M.2 drives on a PCI card, M2Dxx and E10G18-T1 etc. +# Added support for M.2 drives on a PCI card (M2Dxx and E10G18-T1 and future models). # # Improved flags/options checking and added usage help. # @@ -97,20 +97,38 @@ Off='\e[0m' usage(){ - echo -e "\nUsage: $(basename $0) [options]\n" - echo "Options:" - echo " -s, --showedits Show the edits made to host db file(s)" - echo " -n, --noupdate Prevent DSM updating the compatible drive databases" - echo " -m, --m2 Don't process M.2 drives" - echo " -f, --force Force DSM to not check drive compatibility" - echo " -r, --ram Disable memory compatibility checking" - echo -e " -h, --help Show this help message\n" - exit + cat <