Browse Source

Update syno_hdd_db.sh

pull/46/head
007revad 3 years ago
committed by GitHub
parent
commit
4fdc905bb7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      syno_hdd_db.sh

4
syno_hdd_db.sh

@ -143,14 +143,14 @@ EOF
# Check for flags with getopt # Check for flags with getopt
if options="$(getopt -o abcdefghijklmnopqrstuvwxyz0123456789 -a \ 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" eval set -- "$options"
while true; do while true; do
case "${1,,}" in case "${1,,}" in
-s|--showedits) # Show edits done to host db file -s|--showedits) # Show edits done to host db file
showedits=yes showedits=yes
;; ;;
-n|--nodbupdate) # Disable disk compatibility db updates -n|--nodbupdate|--noupdate) # Disable disk compatibility db updates
nodbupdate=yes nodbupdate=yes
;; ;;
-m|--m2) # Don't add M.2 drives to db files -m|--m2) # Don't add M.2 drives to db files

Loading…
Cancel
Save