From 3a455c57ff361660ba7d313c4575e1de3d1d4aba Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sun, 25 Aug 2024 10:58:56 +0200 Subject: [PATCH] arc-functions: more rewrite Signed-off-by: AuxXxilium --- files/initrd/opt/arc/arc-functions.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/files/initrd/opt/arc/arc-functions.sh b/files/initrd/opt/arc/arc-functions.sh index f237ca1d..f40680bb 100755 --- a/files/initrd/opt/arc/arc-functions.sh +++ b/files/initrd/opt/arc/arc-functions.sh @@ -874,7 +874,7 @@ function updateMenu() { 7 "Update Modules" \ 8 "Update Patches" \ 9 "Update Custom Kernel" \ - 0 "Branch: ${ARCBRANCH}" \ + 0 "Buildroot Branch: ${ARCBRANCH}" \ 2>"${TMP_PATH}/resp" [ $? -ne 0 ] && break case "$(cat ${TMP_PATH}/resp)" in @@ -1107,10 +1107,10 @@ function updateMenu() { 0) # Ask for Arc Branch ARCBRANCH="$(readConfigKey "arc.branch" "${USER_CONFIG_FILE}")" - dialog --clear --backtitle "$(backtitle)" --title "Switch Buildsystem" \ + dialog --clear --backtitle "$(backtitle)" --title "Switch Buildroot" \ --menu "Current: ${ARCBRANCH} -> Which Branch?" 7 50 0 \ - 1 "Stable Buildsystem" \ - 2 "Next Buildsystem (latest)" \ + 1 "Stable Buildroot" \ + 2 "Next Buildroot (latest)" \ 2>"${TMP_PATH}/opts" opts=$(cat ${TMP_PATH}/opts) if [ ${opts} -eq 1 ]; then @@ -1119,8 +1119,8 @@ function updateMenu() { writeConfigKey "arc.branch" "next" "${USER_CONFIG_FILE}" fi ARCBRANCH="$(readConfigKey "arc.branch" "${USER_CONFIG_FILE}")" - dialog --backtitle "$(backtitle)" --title "Switch Buildsystem" --aspect 18 \ - --msgbox "Using ${ARCBRANCH} Buildsystem, now.\nUpdate the Loader to apply the changes!" 7 50 + dialog --backtitle "$(backtitle)" --title "Switch Buildroot" --aspect 18 \ + --msgbox "Using ${ARCBRANCH} Buildroot, now.\nUpdate the Loader to apply the changes!" 7 50 writeConfigKey "arc.builddone" "false" "${USER_CONFIG_FILE}" BUILDDONE="$(readConfigKey "arc.builddone" "${USER_CONFIG_FILE}")" ;;