From 4a47b3b03b844e092b09cae64183bb4fdc89cb5f Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sun, 3 Dec 2023 14:15:28 +0100 Subject: [PATCH] arc: fix recovery Signed-off-by: AuxXxilium --- files/initrd/opt/arc/arc.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/files/initrd/opt/arc/arc.sh b/files/initrd/opt/arc/arc.sh index d8666934..e7121dbc 100755 --- a/files/initrd/opt/arc/arc.sh +++ b/files/initrd/opt/arc/arc.sh @@ -1233,10 +1233,8 @@ function backupMenu() { else while true; do dialog --backtitle "$(backtitle)" --menu "Choose an Option" 0 0 0 \ - 1 "Restore Config" \ - 2 "Restore Loader Disk" \ - 3 "Restore Config with Code" \ - 4 "Recover from DSM" \ + 1 "Restore Config with Code" \ + 2 "Recover from DSM" \ 2>"${TMP_PATH}/resp" [ $? -ne 0 ] && return 1 case "$(<"${TMP_PATH}/resp")" in @@ -1263,7 +1261,7 @@ function backupMenu() { else cp -f "${BACKUPDIR}/user-config.yml" "${USER_CONFIG_FILE}" dialog --backtitle "$(backtitle)" --title "Restore Config" --aspect 18 \ - --msgbox "Version mismatch!\nIt is possible that your Config will not work!" 0 0 + --msgbox "Version mismatch!\nIt is possible that your Config will not work!" 0 0 fi else dialog --backtitle "$(backtitle)" --title "Restore Config" --aspect 18 \