mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2025-11-01 19:28:01 +00:00
15 lines
324 B
Bash
Executable File
15 lines
324 B
Bash
Executable File
#!/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
|
|
|