Parcourir la source

Move UART prompt to start of setup before long-running installs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tuanchris il y a 4 mois
Parent
commit
42f40da22d
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      setup-pi.sh

+ 3 - 1
setup-pi.sh

@@ -497,6 +497,9 @@ main() {
     echo "Install directory: $INSTALL_DIR"
     echo "Install directory: $INSTALL_DIR"
     echo ""
     echo ""
 
 
+    # Ask connection type upfront (before long-running installs)
+    configure_uart
+
     # Run setup steps
     # Run setup steps
     check_raspberry_pi
     check_raspberry_pi
     install_system_deps
     install_system_deps
@@ -513,7 +516,6 @@ main() {
         setup_autohotspot
         setup_autohotspot
     fi
     fi
 
 
-    configure_uart
     install_lgpio
     install_lgpio
     deploy_native
     deploy_native
     install_cli
     install_cli