Browse Source

Update syno_hdd_db.sh

pull/123/head
Dave Russell 3 years ago
committed by GitHub
parent
commit
4ab7cfd544
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      syno_hdd_db.sh

8
syno_hdd_db.sh

@ -40,6 +40,8 @@
#
# Fixed bug displaying the max memory setting if total installed memory was less than the max memory. Issue #107
#
# Fixed bug where sata1 drive firmware version was wrong if there was a sata10 drive.
#
#
# Minor bug fix for checking amount of installed memory.
#
@ -199,7 +201,7 @@
# Optionally disable "support_disk_compatibility".
scriptver="v3.1.59"
scriptver="v3.1.60"
script=Synology_HDD_db
repo="007revad/Synology_HDD_db"
@ -1186,8 +1188,8 @@ check_modeldtb(){
if [[ -f /etc.defaults/model.dtb ]]; then
if ! grep --text "$1" /etc.defaults/model.dtb >/dev/null; then
if [[ $modelname == "DS1821+" ]] || [[ $modelname == "DS1621+" ]] ||\
[[ $modelname == "DS1520+" ]] || [[ $modelname == "RS822RP+" ]] ||\
[[ $modelname == "RS822+" ]] || [[ $modelname == "RS1221RP+" ]] ||\
[[ $modelname == "DS1520+" ]] || [[ $modelname == "RS822rp+" ]] ||\
[[ $modelname == "RS822+" ]] || [[ $modelname == "RS1221rp+" ]] ||\
[[ $modelname == "RS1221+" ]];
then
echo "" >&2

Loading…
Cancel
Save