Browse Source

Update syno_hdd_db.sh

Changed model detection to also be DSM 6 compatible.
pull/14/head
007revad 3 years ago
committed by GitHub
parent
commit
1d5f70295d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      syno_hdd_db.sh

2
syno_hdd_db.sh

@ -187,7 +187,7 @@ fi
# Get Synology model
model=$(find /var/lib/disk-compatibility -regextype egrep -regex ".*host(_v7)?\.db$" |\
rev | cut -d"/" -f1 | rev | cut -d"_" -f1)
cut -d"/" -f5 | cut -d"_" -f1 | uniq)
#------------------------------------------------------------------------------

Loading…
Cancel
Save