mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Fixing synoinfo entries for SHR
Little bug into add synoinfo entry
This commit is contained in:
parent
c7c2ecd82c
commit
cbd46821bc
@ -430,7 +430,8 @@ function synoinfoMenu() {
|
|||||||
--inputbox "Type a name of synoinfo entry" 0 0 \
|
--inputbox "Type a name of synoinfo entry" 0 0 \
|
||||||
2>${TMP_PATH}/resp
|
2>${TMP_PATH}/resp
|
||||||
[ $? -ne 0 ] && continue
|
[ $? -ne 0 ] && continue
|
||||||
NAME="`sed 's/://g' <"${TMP_PATH}/resp"`"
|
NAME="`<"${TMP_PATH}/resp"`"
|
||||||
|
[ -z "${NAME}" ] && continue
|
||||||
dialog --backtitle "`backtitle`" --title "Synoinfo entries" \
|
dialog --backtitle "`backtitle`" --title "Synoinfo entries" \
|
||||||
--inputbox "Type a value of '${NAME}' entry" 0 0 "${SYNOINFO[${NAME}]}" \
|
--inputbox "Type a value of '${NAME}' entry" 0 0 "${SYNOINFO[${NAME}]}" \
|
||||||
2>${TMP_PATH}/resp
|
2>${TMP_PATH}/resp
|
||||||
|
@ -7,6 +7,8 @@ synoinfo: &synoinfo
|
|||||||
small_info_path: "https://example.com/null"
|
small_info_path: "https://example.com/null"
|
||||||
updateurl: "http://example.com/"
|
updateurl: "http://example.com/"
|
||||||
myds_region_api_base_url: "https://example.com"
|
myds_region_api_base_url: "https://example.com"
|
||||||
|
support_disk_compatibility: "no"
|
||||||
|
support_memory_compatibility: "no"
|
||||||
supportraidgroup: "no"
|
supportraidgroup: "no"
|
||||||
supportssdcache: "no"
|
supportssdcache: "no"
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
|
@ -11,6 +11,8 @@ synoinfo: &synoinfo
|
|||||||
updateurl: "http://example.com/"
|
updateurl: "http://example.com/"
|
||||||
myds_region_api_base_url: "https://example.com"
|
myds_region_api_base_url: "https://example.com"
|
||||||
security_version_server: "https://example.com/smallupdate"
|
security_version_server: "https://example.com/smallupdate"
|
||||||
|
support_disk_compatibility: "no"
|
||||||
|
support_memory_compatibility: "no"
|
||||||
supportraidgroup: "no"
|
supportraidgroup: "no"
|
||||||
supportssdcache: "no"
|
supportssdcache: "no"
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
|
Loading…
x
Reference in New Issue
Block a user