mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
				synced 2025-10-30 18:28:03 +00:00 
			
		
		
		
	Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
		
							
								
								
									
										14
									
								
								test_scripts/curl/start_rttys.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										14
									
								
								test_scripts/curl/start_rttys.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  |  | ||||||
|  | echo "This test script " | ||||||
|  |  | ||||||
|  | echo "Getting all serial numbers.." | ||||||
|  | ./cli listdevices | ||||||
|  | cp result.json devices.json | ||||||
|  | jq -r '.devices[].serialNumber' devices.json > serialNumbers | ||||||
|  | while IFS= read -r serialNumber | ||||||
|  | do | ||||||
|  |   echo "Serial Number: $serialNumber" | ||||||
|  |   ./cli rtty "$serialNumber" noconnect | ||||||
|  | done < serialNumbers | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959