Browse Source

Merge pull request #46 from 007revad/develop

Develop
pull/91/head
007revad 3 years ago
committed by GitHub
parent
commit
263f0f9fbf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      CHANGES.txt
  2. 6
      syno_hdd_db.sh

3
CHANGES.txt

@ -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>

6
syno_hdd_db.sh

@ -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

Loading…
Cancel
Save