arc-functions: add reinit to menu
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user