mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 02:38:03 +00:00 
			
		
		
		
	openwrt-ctrl: Deal better with funky prompt.
This commit is contained in:
		| @@ -189,7 +189,11 @@ def main(): | ||||
|    CLOSEDBYREMOTE = "closed by remote host." | ||||
|    CLOSEDCX = "Connection to .* closed." | ||||
|  | ||||
|    egg.expect(CCPROMPT) | ||||
|    try: | ||||
|        egg.expect(CCPROMPT) | ||||
|    except Exception as e: | ||||
|        egg.sendline(NL) | ||||
|  | ||||
|    TO=10 | ||||
|    wait_forever = False | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ben Greear
					Ben Greear