Browse Source
Update syno_hdd_db.sh
Bugfix for backing up storage_panel
pull/186/head
Dave Russell
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
syno_hdd_db.sh
|
|
@ -1761,7 +1761,7 @@ if [[ -f "$strgmgr" ]]; then |
|
|
# Backup storage_panel.js" |
|
|
# Backup storage_panel.js" |
|
|
strgmgrver="$(synopkg version StorageManager)" |
|
|
strgmgrver="$(synopkg version StorageManager)" |
|
|
echo "" |
|
|
echo "" |
|
|
if [[ ! -f "${1}.$strgmgrver" ]]; then |
|
|
if [[ ! -f "${strgmgr}.$strgmgrver" ]]; then |
|
|
if cp -p "$strgmgr" "${strgmgr}.$strgmgrver"; then |
|
|
if cp -p "$strgmgr" "${strgmgr}.$strgmgrver"; then |
|
|
echo -e "Backed up $(basename -- "$strgmgr")" |
|
|
echo -e "Backed up $(basename -- "$strgmgr")" |
|
|
else |
|
|
else |
|
|
|