From 0cf81cb232bd558fb3d0a00bcaa43708449ea283 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sun, 23 Jun 2024 16:18:56 +0200 Subject: [PATCH] arc-functions: add reinit to menu Signed-off-by: AuxXxilium --- files/initrd/opt/arc/arc-functions.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/arc-functions.sh b/files/initrd/opt/arc/arc-functions.sh index a10f35a1..25e9377f 100755 --- a/files/initrd/opt/arc/arc-functions.sh +++ b/files/initrd/opt/arc/arc-functions.sh @@ -1960,7 +1960,8 @@ function rebootMenu() { echo -e "bios \"BIOS/UEFI\"" >>"${TMP_PATH}/opts" echo -e "poweroff \"Shutdown\"" >>"${TMP_PATH}/opts" echo -e "shell \"Exit to Shell Cmdline\"" >>"${TMP_PATH}/opts" - echo -e "network \"Restart Netwok Service\"" >>"${TMP_PATH}/opts" + echo -e "init \"Restart Loader Init\"" >>"${TMP_PATH}/opts" + echo -e "network \"Restart Network Service\"" >>"${TMP_PATH}/opts" dialog --backtitle "$(backtitle)" --title "Reboot" \ --menu "Choose a Destination" 0 0 0 --file "${TMP_PATH}/opts" \ 2>${TMP_PATH}/resp @@ -1980,6 +1981,8 @@ function rebootMenu() { elif [ "${REDEST}" == "shell" ]; then clear exit 0 + elif [ "${REDEST}" == "init" ]; then + init.sh elif [ "${REDEST}" == "network" ]; then /etc/init.d/S41dhcpcd restart arc.sh