Auto-reboot after imaging, auto-download pip-wheels in build scripts
startnet.cmd now polls for PESetup.exe completion and reboots with a 15-second countdown. Build scripts (USB + Proxmox) auto-download pip wheels if the pip-wheels/ directory is missing. Added mok-keys/ to gitignore. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -103,3 +103,19 @@ net use Z: \\10.9.100.1\winpeapps\ge-shopfloor-mce /persistent:no
|
||||
goto end
|
||||
|
||||
:end
|
||||
echo.
|
||||
echo Waiting for PESetup.exe to start...
|
||||
:wait_start
|
||||
timeout /t 2 /nobreak >NUL
|
||||
tasklist /FI "IMAGENAME eq PESetup.exe" 2>NUL | find /I "PESetup.exe" >NUL
|
||||
if errorlevel 1 goto wait_start
|
||||
echo PESetup.exe is running. Waiting for imaging to complete...
|
||||
:wait_finish
|
||||
timeout /t 10 /nobreak >NUL
|
||||
tasklist /FI "IMAGENAME eq PESetup.exe" 2>NUL | find /I "PESetup.exe" >NUL
|
||||
if not errorlevel 1 goto wait_finish
|
||||
echo.
|
||||
echo Imaging complete. Rebooting in 15 seconds...
|
||||
echo Press Ctrl+C to cancel.
|
||||
timeout /t 15
|
||||
wpeutil reboot
|
||||
|
||||
Reference in New Issue
Block a user