From 95c7af9ac649866d301a3c2385cc7ae993512873 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 2 Dec 2025 15:10:58 +0000 Subject: [PATCH] Fix core menu option 10 (Full reinstall) not working Issue: Option 10 was immediately returning to main menu instead of performing the reinstall. Root Cause: The menu case statement had 'return' after full_reinstall, which caused it to exit the core_settings_menu even when the user cancelled the reinstall (by not typing 'YES'). Fix: Removed the 'return' statement from line 8994. Now when users cancel, they stay in the core settings menu. When reinstall completes, the pause() at the end lets them press enter and naturally return to the menu for additional configuration. Note: Option 11 (complete_uninstall) correctly keeps 'return' since uninstalling should exit the entire menu system. --- install_kiosk_0.9.7-4.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_kiosk_0.9.7-4.sh b/install_kiosk_0.9.7-4.sh index a54c18f..ef2d8b4 100644 --- a/install_kiosk_0.9.7-4.sh +++ b/install_kiosk_0.9.7-4.sh @@ -8990,9 +8990,9 @@ core_menu() { 6) configure_power_display_quiet ;; 7) load_existing_config; if configure_optional_features; then save_config; fi ;; 8) load_existing_config; if configure_password_protection; then save_config; fi ;; - 9) configure_hidden_site_pin ;; # <- ADD THIS - 10) full_reinstall; return ;; # <- UPDATE THESE - 11) complete_uninstall; return ;; # <- UPDATE THESE + 9) configure_hidden_site_pin ;; + 10) full_reinstall ;; + 11) complete_uninstall; return ;; 0) return ;; esac done