Browse Source
Merge pull request #435 from 007revad/main
fixed SC2034,SC2091
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
2 additions and
2 deletions
-
syno_hdd_db.sh
|
|
@ -126,7 +126,7 @@ if options="$(getopt -o SIabcdefghijklmnopqrstuvwxyz0123456789 -l \ |
|
|
;; |
|
|
;; |
|
|
--restore) # Restore changes from backups |
|
|
--restore) # Restore changes from backups |
|
|
restore=yes |
|
|
restore=yes |
|
|
if $(echo "${args[@]}" | grep -q -- '--ssd=restore'); then |
|
|
if echo "${args[@]}" | grep -q -- '--ssd=restore'; then |
|
|
ssd_restore=yes |
|
|
ssd_restore=yes |
|
|
fi |
|
|
fi |
|
|
#break |
|
|
#break |
|
|
@ -262,7 +262,7 @@ model=$(cat /proc/sys/kernel/syno_hw_version) |
|
|
modelname="$model" |
|
|
modelname="$model" |
|
|
|
|
|
|
|
|
# Get CPU platform_name |
|
|
# Get CPU platform_name |
|
|
platform_name=$(/usr/syno/bin/synogetkeyvalue /etc.defaults/synoinfo.conf platform_name) |
|
|
#platform_name=$(/usr/syno/bin/synogetkeyvalue /etc.defaults/synoinfo.conf platform_name) |
|
|
|
|
|
|
|
|
# Get CPU arch |
|
|
# Get CPU arch |
|
|
arch="$(uname -m)" |
|
|
arch="$(uname -m)" |
|
|
|