arc: fix offline mode switch

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2023-12-29 15:14:10 +01:00
parent a75c40a345
commit 476244d2bd

View File

@@ -2667,12 +2667,12 @@ while true; do
+) formatdisks; NEXT="+" ;;
# Loader Settings
x) backupMenu; NEXT="x" ;;
0) [ "${OFFLINE}" = "true" ] && OFFLINE='false' || OFFLINE='true'
9) [ "${OFFLINE}" = "true" ] && OFFLINE='false' || OFFLINE='true'
OFFLINE="${OFFLINE}"
writeConfigKey "arc.offline" "${OFFLINE}" "${USER_CONFIG_FILE}"
writeConfigKey "arc.builddone" "false" "${USER_CONFIG_FILE}"
BUILDDONE="$(readConfigKey "arc.builddone" "${USER_CONFIG_FILE}")"
NEXT="0"
NEXT="9"
;;
y) keymapMenu; NEXT="y" ;;
z) updateMenu; NEXT="z" ;;