From 9a11c1d5bbfc90b5c71cc7fd8c4eb46de8b85e69 Mon Sep 17 00:00:00 2001 From: ETWen Date: Fri, 21 Aug 2026 12:58:06 +0800 Subject: [PATCH] fix(ttl): Wait for the prompt before config save in the uplink block `config save -y` was sent straight after the Ethernet514 startup with no wait in between. The shell buffers the second line and still runs it, so nothing visibly breaks, but every wait from there on matches the prompt of the previous command -- leaving the macro permanently one step ahead and issuing `show interfaces status` while `config save` is still running. Every other sendln in the file waits first; this one now does too. Version left at V1.0.5. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_014RetWKFZFG1ZHcitQAyhwM --- src/Script_ABC_Blanton/1_Blanton_Script_A.ttl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Script_ABC_Blanton/1_Blanton_Script_A.ttl b/src/Script_ABC_Blanton/1_Blanton_Script_A.ttl index 8aec742..010019f 100644 --- a/src/Script_ABC_Blanton/1_Blanton_Script_A.ttl +++ b/src/Script_ABC_Blanton/1_Blanton_Script_A.ttl @@ -122,6 +122,7 @@ wait prompt_sonic_root sendln "config interface -n asic0 shutdown Ethernet513" wait prompt_sonic_root sendln "config interface -n asic1 startup Ethernet514" +wait prompt_sonic_root sendln "config save -y" wait prompt_sonic_root