Browse Source

Update syno_hdd_db.sh

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

4
syno_hdd_db.sh

@ -728,10 +728,10 @@ fi
fixdrivemodel(){ fixdrivemodel(){
if [[ $1 =~ MZ.*" 00Y" ]]; then if [[ $1 =~ MZ.*" 00Y" ]]; then
hdmodel=$(printf "%s" "$1" | sed 's/ 00Y.*//') echo
fi fi
if [[ $1 =~ ^[A-Za-z]{1,7}" ".* ]]; then if [[ $1 =~ ^[A-Za-z]{1,7}" ".* ]]; then
echo echo
fi fi
} }

Loading…
Cancel
Save