Browse Source

v3.6.134

develop^2
007revad 3 weeks ago
parent
commit
a328fb71cf
  1. 5
      CHANGES.txt
  2. 2
      syno_hdd_db.sh

5
CHANGES.txt

@ -1,3 +1,8 @@
v3.6.134
- Bug for trying to backup M.2 PCIe card's .db.new when it didn't exist which caused the following error:
- **cp: cannot stat '': No such file or directory
- ERROR 5 Failed to backup !**
v3.6.133
- Bug fix for not updating db files with each drive's firmware version if drives were previously added to the db files without firmware version from an older script version. Issue #598
- Bug fix for restore mode not re-enabling drive database updates in DSM 7.3 and later.

2
syno_hdd_db.sh

@ -1493,7 +1493,7 @@ getdbtype(){
backupdb(){
# Backup database file if needed
local bakversion newversion fname
[[ -z "$1" || ! -f "$1" ]] || return 0 # Don't try to backup non-existent files
[[ -z "$1" || ! -f "$1" ]] && return 0 # Don't try to backup non-existent files
if [[ $2 == "long" ]]; then
fname="$1"
else

Loading…
Cancel
Save