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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
syno_hdd_db.sh
|
|
@ -187,7 +187,7 @@ fi |
|
|
|
|
|
|
|
|
# Get Synology model |
|
|
# Get Synology model |
|
|
model=$(find /var/lib/disk-compatibility -regextype egrep -regex ".*host(_v7)?\.db$" |\ |
|
|
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) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#------------------------------------------------------------------------------ |
|
|
#------------------------------------------------------------------------------ |
|
|
|