Browse Source

Update syno_hdd_db.sh

v3.3.71
- Bug fix for enablings creating storage pools in Storage Manager for M.2 drives in PCIe adaptor cards. 
- Bug fix for not copying syno_hdd_db_vendors.txt to script location when script updates itself.
pull/186/head
Dave Russell 2 years ago
committed by GitHub
parent
commit
d26553b77a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      syno_hdd_db.sh

4
syno_hdd_db.sh

@ -398,8 +398,8 @@ if ! printf "%s\n%s\n" "$tag" "$scriptver" |
echo -e "${Error}ERROR${Off} Failed to copy"\ echo -e "${Error}ERROR${Off} Failed to copy"\
"$script-$shorttag/$vidstxt to:\n $scriptpath" "$script-$shorttag/$vidstxt to:\n $scriptpath"
else else
# Set permissions on CHANGES.txt # Set permissions on syno_hdd_vendor_ids.txt
if ! chmod 664 "$scriptpath/$vidstxt"; then if ! chmod 755 "$scriptpath/$vidstxt"; then
if [[ $autoupdate != "yes" ]]; then permerr=1; fi if [[ $autoupdate != "yes" ]]; then permerr=1; fi
echo -e "${Error}ERROR${Off} Failed to set permissions on:" echo -e "${Error}ERROR${Off} Failed to set permissions on:"
echo "$scriptpath/$vidstxt" echo "$scriptpath/$vidstxt"

Loading…
Cancel
Save