007revad
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
3 deletions
-
CHANGES.txt
-
syno_hdd_db.sh
|
|
|
@ -1,3 +1,6 @@ |
|
|
|
v1.2.31 |
|
|
|
- Bug fix. The --noupdate option was coded as --nodbupdate. Now either will work. |
|
|
|
|
|
|
|
v1.2.30 |
|
|
|
- Fixed "download new version" failing if script was run via symlink or ./<scriptname> |
|
|
|
|
|
|
|
|
|
|
|
@ -92,7 +92,7 @@ |
|
|
|
# Optionally disable "support_disk_compatibility". |
|
|
|
|
|
|
|
|
|
|
|
scriptver="v1.2.30" |
|
|
|
scriptver="v1.2.31" |
|
|
|
script=Synology_HDD_db |
|
|
|
repo="007revad/Synology_HDD_db" |
|
|
|
|
|
|
|
@ -143,14 +143,14 @@ EOF |
|
|
|
|
|
|
|
# Check for flags with getopt |
|
|
|
if options="$(getopt -o abcdefghijklmnopqrstuvwxyz0123456789 -a \ |
|
|
|
-l showedits,noupdate,m2,force,ram,help,version,debug -- "$@")"; then |
|
|
|
-l showedits,noupdate,nodbupdate,m2,force,ram,help,version,debug -- "$@")"; then |
|
|
|
eval set -- "$options" |
|
|
|
while true; do |
|
|
|
case "${1,,}" in |
|
|
|
-s|--showedits) # Show edits done to host db file |
|
|
|
showedits=yes |
|
|
|
;; |
|
|
|
-n|--nodbupdate) # Disable disk compatibility db updates |
|
|
|
-n|--nodbupdate|--noupdate) # Disable disk compatibility db updates |
|
|
|
nodbupdate=yes |
|
|
|
;; |
|
|
|
-m|--m2) # Don't add M.2 drives to db files |
|
|
|
|