mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 02:59:53 +07:00
arc: more rewrite
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
0c7a1a3c75
commit
d92244ff77
@ -682,7 +682,7 @@ function backupMenu() {
|
|||||||
NEXT="1"
|
NEXT="1"
|
||||||
while true; do
|
while true; do
|
||||||
dialog --backtitle "$(backtitle)" --cancel-label "Exit" --menu "Choose an Option" 0 0 0 \
|
dialog --backtitle "$(backtitle)" --cancel-label "Exit" --menu "Choose an Option" 0 0 0 \
|
||||||
1 "Restore Arc Config from DSM" \
|
1 "Restore and Build Arc Config from DSM" \
|
||||||
2 "Restore HW Encryption Key from DSM" \
|
2 "Restore HW Encryption Key from DSM" \
|
||||||
3 "Backup HW Encryption Key to DSM" \
|
3 "Backup HW Encryption Key to DSM" \
|
||||||
2>"${TMP_PATH}/resp"
|
2>"${TMP_PATH}/resp"
|
||||||
@ -739,7 +739,8 @@ function backupMenu() {
|
|||||||
# Check for compatibility
|
# Check for compatibility
|
||||||
compatboot
|
compatboot
|
||||||
if [ ${resp} -eq 1 ]; then
|
if [ ${resp} -eq 1 ]; then
|
||||||
arcSummary
|
ARCMODE="automated"
|
||||||
|
arcVersion
|
||||||
elif [ ${resp} -eq 2 ]; then
|
elif [ ${resp} -eq 2 ]; then
|
||||||
dialog --clear --no-items --backtitle "$(backtitle)"
|
dialog --clear --no-items --backtitle "$(backtitle)"
|
||||||
return 1
|
return 1
|
||||||
|
@ -1096,8 +1096,8 @@ else
|
|||||||
echo "M \"Primary NIC: \Z4${ARCNIC}\Zn \" " >>"${TMP_PATH}/menu"
|
echo "M \"Primary NIC: \Z4${ARCNIC}\Zn \" " >>"${TMP_PATH}/menu"
|
||||||
echo "W \"RD Compression: \Z4${RD_COMPRESSED}\Zn \" " >>"${TMP_PATH}/menu"
|
echo "W \"RD Compression: \Z4${RD_COMPRESSED}\Zn \" " >>"${TMP_PATH}/menu"
|
||||||
echo "X \"Sata DOM: \Z4${SATADOM}\Zn \" " >>"${TMP_PATH}/menu"
|
echo "X \"Sata DOM: \Z4${SATADOM}\Zn \" " >>"${TMP_PATH}/menu"
|
||||||
echo "u \"Switch LKM Version: \Z4${LKM}\Zn \" " >>"${TMP_PATH}/menu"
|
echo "u \"LKM Version: \Z4${LKM}\Zn \" " >>"${TMP_PATH}/menu"
|
||||||
echo "c \"Switch IPv6 Support: \Z4${IPV6}\Zn \" " >>"${TMP_PATH}/menu"
|
echo "c \"IPv6 Support: \Z4${IPV6}\Zn \" " >>"${TMP_PATH}/menu"
|
||||||
echo "B \"Grep DSM Config from Backup \" " >>"${TMP_PATH}/menu"
|
echo "B \"Grep DSM Config from Backup \" " >>"${TMP_PATH}/menu"
|
||||||
echo "L \"Grep Logs from dbgutils \" " >>"${TMP_PATH}/menu"
|
echo "L \"Grep Logs from dbgutils \" " >>"${TMP_PATH}/menu"
|
||||||
echo "w \"Reset Loader to Defaults \" " >>"${TMP_PATH}/menu"
|
echo "w \"Reset Loader to Defaults \" " >>"${TMP_PATH}/menu"
|
||||||
|
Loading…
Reference in New Issue
Block a user