Browse Source
Update syno_hdd_db.sh
Added support for M.2 volumes in PCIe adaptor card for DSM 7.1.1
pull/437/head
Dave Russell
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
5 deletions
-
syno_hdd_db.sh
|
|
|
@ -605,8 +605,8 @@ if [[ $buildnumber -gt 64570 ]]; then |
|
|
|
# DSM 7.2.1 and later |
|
|
|
#strgmgr="/var/packages/StorageManager/target/ui/storage_panel.js" |
|
|
|
strgmgr="/usr/local/packages/@appstore/StorageManager/ui/storage_panel.js" |
|
|
|
elif [[ $buildnumber -ge 64561 ]]; then |
|
|
|
# DSM 7.2 |
|
|
|
elif [[ $buildnumber -ge 42962 ]]; then |
|
|
|
# DSM 7.1.1 to 7.2 |
|
|
|
strgmgr="/usr/syno/synoman/webman/modules/StorageManager/storage_panel.js" |
|
|
|
fi |
|
|
|
vidfile="/usr/syno/etc.defaults/pci_vendor_ids.conf" |
|
|
|
@ -731,7 +731,7 @@ if [[ $restore == "yes" ]]; then |
|
|
|
# DSM 7.2.1 and later |
|
|
|
strgmgrver="$(/usr/syno/bin/synopkg version StorageManager)" |
|
|
|
elif [[ $buildnumber -ge 64561 ]]; then |
|
|
|
# DSM 7.2 |
|
|
|
# DSM 7.1.1 to 7.2 |
|
|
|
strgmgrver="${buildnumber}${smallfixnumber}" |
|
|
|
fi |
|
|
|
if [[ -f "${strgmgr}.$strgmgrver" ]]; then |
|
|
|
@ -2221,7 +2221,7 @@ fi |
|
|
|
|
|
|
|
# Enable creating pool on drives in M.2 adaptor card |
|
|
|
if [[ -f "$strgmgr" ]] && [[ $buildnumber -gt 42962 ]]; then |
|
|
|
# DSM 7.2 and later |
|
|
|
# DSM 7.1.1 and later |
|
|
|
if [[ ${#m2cards[@]} -gt "0" ]] || [[ $forcepci == "yes" ]]; then |
|
|
|
|
|
|
|
if grep -q 'notSupportM2Pool_addOnCard' "$strgmgr"; then |
|
|
|
@ -2231,7 +2231,7 @@ if [[ -f "$strgmgr" ]] && [[ $buildnumber -gt 42962 ]]; then |
|
|
|
# DSM 7.2.1 and later |
|
|
|
strgmgrver="$(/usr/syno/bin/synopkg version StorageManager)" |
|
|
|
elif [[ $buildnumber -ge 64561 ]]; then |
|
|
|
# DSM 7.2 |
|
|
|
# DSM 7.1.1 to 7.2 |
|
|
|
strgmgrver="${buildnumber}${smallfixnumber}" |
|
|
|
fi |
|
|
|
|
|
|
|
|